CSS hsl() stripped/not working
-
I am working on getting a theme AMP compatible and have some CSS that seems to either be getting stripped or just not working. We’re using CSS vars and the
hsl()
CSS function.If I just use the CSS vars, the styles take hold. When I wrap the CSS var in
hsl()
the colors do not work.Is there a filter, or some way I can allow
hsl()
to work?background-color: hsl(var(--theme-submenu--bg, var(--theme-color-heading)));
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘CSS hsl() stripped/not working’ is closed to new replies.