postcss-textures
v0.0.1
Published
Use textures.js in CSS
Downloads
2
Readme
postcss-textures
Use textures.js in CSS
Install
yarn add -D postcss-textures
npm i -D postcss-textures
postcss([textures])
Usage
For example, if you want to use the following on this page
textures.lines().heavier(10).thinner(1.5);
Write CSS like this.
(It resembles a function like linear-gradient
of the CSS)
.a {
background: textures.lines(heavier 10, thinner 1.5)
}
The functions are as follows.
textures.lines
textures.circles
textures.paths
Related
textures.js
riccardoscalco/textures
http://riccardoscalco.github.io/textures/
MIT Copyright (c) 2015 Riccardo Scalco https://github.com/riccardoscalco/textures/blob/master/LICENSE.md#readme
License
The MIT License (MIT)
Copyright (c) 2017 nju33 [email protected]