Content pfp
Content
@
0 reply
0 recast
0 reaction

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
The CSS `attr()` function will soon be upgraded to read values directly from HTML attributes using the CSSOM type system. Class names, inline `style` attributes, inherited CSS variables and discrete `data-*` attribute values will no longer be your only entry points for specifying CSS style variants in your HTML templates. https://youtu.be/WcNWf6edIcc https://developer.chrome.com/blog/advanced-attr https://caniuse.com/css3-attr https://developer.mozilla.org/en-US/docs/Web/CSS/attr
2 replies
0 recast
1 reaction

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
CSSWG spec: https://drafts.csswg.org/css-values-5/#attr-notation
0 reply
0 recast
0 reaction