cascade.css

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i cascade.css

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

2.15 kB

Total Files

3

Last publish

Collaborators

  • arguiot