CSS variables with other style

Hello can you assign any style to a css variable like this
--piano-key: border-color: red; border-width: 5px; border-style: solid; font-color:blue;

no, you assign values to them, so it would be like --piano-key-border-color: red; --piano-key-border-width: 5px. Or --piano-key-border: red 5px solid;

You don’t assign styles to them.

1 Like

oh thanks bra i guess you are a pro already