Re: [csswg-drafts] [css-color-5] Add `currentBackgroundColor` Variable (#5292)

@fantasai I believe this would only really be used when a background color is specified, and in that case, I'd find it really useful. 

I see dynamic backgrounds frequently in components like cards that have some shared structure, but unique characteristics (i.e. on a media website with a carousel of different types of article preview cards, each with a slightly different background color and matching border to hint at this type).

GitHub Notification of comment by una
Please view or discuss this issue at using your GitHub account

Received on Monday, 6 July 2020 21:10:12 UTC