style

tuix-design uses shortcode like flex w:100% bg:red to define style

usage

pass the shorcode in style props
: represent the css value. Ex: bg:red
use _ (underscode) to present space in css value

<Div style="flex w:100% bg:red">hello world!<Div/>
copy

Shortcode

display

shortcodecss
blockdisplay:block
inlinedisplay:inline
flexdisplay:flex

size

shortcodecss
w:valuewidth:value
h:valueheight:value
displaysize