cascade.css
v0.0.1
Published
An innovative CSS preprocessor made of JavaScript
Maintainers
Readme
Cascade
An innovative CSS preprocessor made of JavaScript (work in progress)
Exemple of what you can do with Cascade:
const C = require("cascade");
C("button")
.align("center") // will center (horizontally the element for you
.background("#292929") // will set the background color to #292929
.hover(b => b.text.underline(true)) // on hover, the text will appear underlined
.appendCSS(`
border-radius: 5px;
`) // if you want to add native CSS to the element, you can
C.save("path/to/file.css")