I integrate design & technology into companies like National Geographic, PeR (an independent sustainability research ctr.) & Aris Technologies. I enjoy perf-hacking old kit, Enduro/MTB & ice baths. ๐ฅถ
Exactly! Using var(--color-bg, inherit) uses the browser's fallback value. Perhaps one day, browsers will simply have a algo to do this themselves, such as Luma: css-tricks.com/switch-font-color-f...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Exactly! Using
var(--color-bg, inherit)
uses the browser's fallback value. Perhaps one day, browsers will simply have a algo to do this themselves, such as Luma: css-tricks.com/switch-font-color-f...