From dd1eec25c771b81be75c30b9754b5ae2cd6e325a Mon Sep 17 00:00:00 2001 From: Nick Sagona Date: Thu, 2 Nov 2017 14:28:21 -0500 Subject: [PATCH] Update README --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c88b4e1..dc5ad99 100644 --- a/README.md +++ b/README.md @@ -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); @@ -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