tachyons-code
v1.0.0 tachyons tachyons-css css code
tachyons-code 1.0.0
Tachyons module for code
Stats
82 | 1 | 3 |
---|---|---|
bytes | selectors | declarations |
Installation
With npm
npm install --save-dev tachyons-code
With Git
git clone https://github.com/tachyons-css/tachyons-code
Usage
Using with PostCSS
Import the css module
@import "tachyons-code";
Then process the CSS using the tachyons-cli
$ npm i -g tachyons-cli
$ tachyons path/to/css-file.css > dist/t.css
Using the 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/tachyons-code">
Development
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.
The CSS
/*
CODE
*/
.pre { overflow-x: auto; overflow-y: hidden; overflow: scroll; }
Contributing
- 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
Authors
License
MIT