Rob Dodson 11/19/2013

@font-face doesn't work in Shadow DOM

Read Original

This technical article details a common issue where @font-face CSS rules fail to work inside a Shadow DOM, such as when building custom elements with Polymer. It provides a specific fix: moving the @font-face declarations out of the element's scoped stylesheet and into the global scope to ensure fonts like Font Awesome load correctly.

@font-face doesn't work in Shadow DOM

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser