Skip to content

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

Notifications You must be signed in to change notification settings

gerardobort/css-splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published