Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 3.45 KB

README.md

File metadata and controls

18 lines (11 loc) · 3.45 KB

yss - why style sheets?

example

What is yss?

Given that you use the mighty mithril.js you can do something like this:

const myLink = 'a' + yss.fsL.dIb.bgBlue.fgWhite.brPill.boNone.hoGrow.ulNone
m(myLink, { href: '#' }, 'Click me')

Credits

Heavily inspired by https://github.com/porsager/bss. Thanks Rasmus!