From e0bb38a0761cfdabf642a11e81bd365a4a084cc9 Mon Sep 17 00:00:00 2001 From: Anton Nesterov Date: Fri, 8 Apr 2016 21:24:59 +0300 Subject: [PATCH] Add example of input and output to readme --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 48dd611..a9a5089 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,22 @@ >PostCSS plugin which helps you extract only used styles. Unlike [uncss](https://github.com/giakki/uncss) and others does not render your pages to find used classes, but instead parse it statically, which can be beneficial in some cases. Also support simple Angular's ng-class parsing. And also, due to awesomeness of PostCSS, it works with LESS and SCSS via PostCSS syntaxes. +```html + +
+``` + +```css +/* Input */ +.test { color: #000; } +.test2 { color: #fff; } +``` + +```css +/* Output */ +.test { color: #000; } +``` + ## Installation ```