Skip to content

Commit

Permalink
Add example of input and output to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
komachi committed Apr 8, 2016
1 parent 65234e3 commit e0bb38a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<!--- HTML file -->
<div class="test"></div>
```

```css
/* Input */
.test { color: #000; }
.test2 { color: #fff; }
```

```css
/* Output */
.test { color: #000; }
```

## Installation

```
Expand Down

0 comments on commit e0bb38a

Please sign in to comment.