How to use the attr() CSS method?
Originally posted here!-css-method)
WARNING 🤯: This is a new method and may not work in some browsers as of now.
To get attribute values from HTML elements to css, you can use the attr() CSS function.
Consider this html, where you have a h1 tag wit...
melvingeorge-me.hashnode.dev3 min read