brisky-style
Set style properties on brisky-elements, automatically adds prefixes
basic
const render = const app = // returns opacity 1 when state.animal equals "cat"
px
Automaticly converts numbers
to [number] + px
- width
- height
- left
- right
- bottom
- top
- margin
- padding
const render = const app = // renders a div with width: 100px
Add your own px property
const render = const app = // renders a div with style - something: 100px
transform
Adds helpers for x y and rotate
const render = const app = // renders a div with transform style // translate3d(100px,100px,0) scale(0.1) rotate(20deg)