Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksagona committed Nov 2, 2017
1 parent 2db8e8b commit dd1eec2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ $media = new Media('screen');
$media->setFeature('max-width', '480px');
$media['#login'] = new Selector();
$media['#login']->setProperty('width', '75%');
$media['#login']->addComment(new Comment('And this is a comment for the #login selector within the media query.'));
$media['#login']->addComment(
new Comment('And this is a comment for the #login selector within the media query.')
);

$css->addMedia($media);

Expand Down Expand Up @@ -229,7 +231,8 @@ echo $css;
Which produces:

```css
html{margin:0;padding:0;background-color:#fff;font-family:Arial, sans-serif;}#login{margin:0;padding:0;width:50%;}
html{margin:0;padding:0;background-color:#fff;font-family:Arial, sans-serif;}
#login{margin:0;padding:0;width:50%;}
```

### Parsing a CSS file
Expand Down

0 comments on commit dd1eec2

Please sign in to comment.