beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

GetCssVariable Op

Ops.Html.GetCssVariable


GetCssVariable
Namespace: Ops.Html

Op author: pandur

gets current value of CSS Variable


summary (oneliner)



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Update (Trigger)

Var Name (String)

Outputs

Result (String)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Get Css Variable Example

click the ice cream to randomly assign a color to the background color variable.
To check the HEX value of the randomly assigned color, click the button below the ice cream.

You can also resize the canvas/browser window to assign a different font size and see the font size variable value in the sidebar. It is calculated according to the width of the canvas.

Open Example In Editor


Patches using GetCssVariable