“Using the Little-Known CSS element() Function to Create a Minimap Navigator - CSS-Tricks”
I wish CSS element() was more widely supported.
... works as a web developer in Hveragerði, Iceland, and writes about the web, digital publishing, and web/product development
These are his notes
“Using the Little-Known CSS element() Function to Create a Minimap Navigator - CSS-Tricks”
I wish CSS element() was more widely supported.
@tso CSS element() was first added in Firefox 4. It isn't new. And displaying an embedded SVG is very much not what it does.
CSS is great and it's only gotten simpler, IMO. A combination of CSS Grid, custom properties and flexbox has let me jettison so much complexity and hacks from my stylesheets.