Tag Archives: box model

How CSS’s display: contents; works

You might know that display: contents; does what it states it does: it only shows an element’s contents, just as if you were to remove the opening and closing tag. But what about the element’s attributes? What about the bound … Continue reading

Elsewhere , , , Leave a comment

Relative Positioning Inside an SVG

Sara Soueidan, who else, has written an extensive article on how to mimic relative positioning in an SVG. The gist: nest your SVGs. Whilst her examples are – as per usual – very extensive and complete, I took the liberty … Continue reading

Elsewhere , , , Leave a comment