DEV Community

Discussion on: Building an interactive form: CSS image

Collapse
 
alvaromontoro profile image
Alvaro Montoro

That's interesting. Having multiple transforms is definitely valid. What type of error does it show?

Collapse
 
austin_mesh profile image
Dę_GlovalWarmer

E.g Background (--background);. It shows errors that it's not a css property.

Thread Thread
 
alvaromontoro profile image
Alvaro Montoro

You need to use var() to read the value of a CSS variable (e.g. background: var(--background);). It seems that code is missing it.