0.0.1 • Published 6 years ago

cascade.css v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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")