#how to set css variable as inline style.

1 messages · Page 1 of 1 (latest)

swift oak
#

hi, i want to set a inline variable with my rust code. Something like

div{
  __img_size: "10em",
  ...
}

How can i do this?

sacred crystal
#

style: "__img_size: 10em;"