Archive for the ‘shadow dom’ Category

Playing with Shadow DOM

Posted on: No Comments
About a year ago, Twitter announced it would start displaying embedded tweets with the shadow DOM rather than an <iframe>, if the browser supports shadom DOM? Why? Well, speed is one reason. They say: Much lower memory utilization in the browser...

Styling SVG <use> Content with CSS

Posted on: No Comments
One of the most common use cases for SVG graphics is icon systems, and one of the most commonly-used SVG spriting techniques is one that uses the SVG <use> element to “instantiate” the icons anywhere they are needed in a document. In...