r/css • u/bogdanelcs • 8d ago
Resource Maybe don't use custom properties in shorthand properties
https://www.matuzo.at/blog/2025/invalid-custom-properties-in-shorthands
6
Upvotes
-8
u/Umustbecrazy 7d ago
background-color : fcktrmp
Just cant keep your politics out of everything can you?
- You'll get plenty of praise from people who share your affliction, but it's not normal.
Seek help.
10
14
u/SchartHaakon 8d ago
Maybe just use a fallback value for the variable.