Get Css Variable Example

               
by

Published Jul 14, 2022 at 12:48
Open In Editor


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.


Example for ops:
Ops.Html.CSS.GetCssVariable 

Licence: Public Domain Dedication

Commercial use ok, freely remix, reuse this work without restriction, please credit the author.
 



More patches made by cables users





what is cables?


Cables is a tool for creating beautiful interactive content. With an easy to navigate interface and real time visuals, it allows for rapid prototyping and fast adjustments.

cables is free to use!

Register