Skip to content

Latest commit

 

History

History
executable file
·
24 lines (21 loc) · 643 Bytes

README.md

File metadata and controls

executable file
·
24 lines (21 loc) · 643 Bytes

css-splitter

Splits CSS files, one per media query - useful for responsive design and component oriented approach

Dependencies

  • nodejs

Easy Usage

node css-splitter.js my-css-file.css

Example

dev@ubuntu:~/github/css-splitter$ node css-splitter.js tests/css-splitter-test.css 
tests/css-splitter-test--screen-and-maxwidth640px.css written.
tests/css-splitter-test--screen-and-minwidth641px-and-maxwidth768px.css written.
tests/css-splitter-test--screen-and-maxwidth1023px.css written.
tests/css-splitter-test--all.css written.
tests/css-splitter-test--import.css written.