Ali Naci Erdem

Personal Blog

  • Computers
  • DIY
  • GitHub
  • LinkedIn
  • itch.io
  • Support Me

style

Shadow DOM is still somewhat shady

22nd October 2017 / Leave a Comment

I was recently building a web app using Polymer 2.0 and need to include some SVG assets for wider resolution support. As you may know, Polymer fully supports native shadow DOM with the 2.0 version. When using a shadow DOM context, the style tag will apply the given CSS rules inside the shadow context. This … [Read more…]

Posted in: Computers Tagged: css, dom, JavaScript, js, polymer, Programming, Scope, shadow dom, style, web components