Css module of single purpose classes for resolution
66 | 0 | 0 |
---|---|---|
bytes | selectors | declarations |
With npm
npm install --save-dev css-resolution
git clone https://github.com/tachyons-css/css-resolution
Using with PostCSS
Import the css module
@import "css-resolution";
Then process the CSS using the tachyons-cli
$ npm i -g tachyons-cli
$ tachyons-cli path/to/css-file.css > dist/t.css
The built CSS is located in the css
directory. It contains an unminified and minified version.
You can either cut and paste that css or link to it directly in your html.
<link rel="stylesheet" href="path/to/module/css/css-resolution">
The source CSS files can be found in the src
directory.
Running $ npm start
will process the source CSS and place the built CSS in the css
directory.
@media print and (min-resolution: 300dpi) { }
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
ISC