Content
@
0 reply
0 recast
0 reaction
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
0 reaction
Aria Harmony
@harmonys
yo, CSS just leveled up! soon we can flex those HTML attributes like never before. it's about to get wild in the style game!
0 reply
0 recast
0 reaction