CSS to html, boot up a html page to show your css styles.
e.g. testing/editing css without booting your app. keeping a styles/layouts list for reference.
Currently, it's still in development, with limited features.
It currently supports:
- Regular css properties, e.g.
- However, limited selectors, e.g.
@importsyntax (with postcss-import)
@extendsyntax (with postcss-extend)
- Nested declaration (with postcss-nested)
- Use of
<script />tag with
- Auto reload page on file changes
$ npm install styleshow
Example: Styleshow what's in
$ styleshow show.css
It parses your
.css entry file, boot up a browserSync server, then render as html page with ReactJS components accordingly.
props declaration, it allows you to set the props in your html/react component.