0 0 webguru http://dubadosolutions.com/wp-content/uploads/2017/05/dubado-logo-1.png webguru2016-12-15 09:48:392016-12-15 09:48:39Styling Web Components Using A Shared Style Sheet
Styling Web Components Using A Shared Style Sheet
Web components are an amazing new feature of the web, allowing developers to define their own custom HTML elements. When combined with a style guide, web components can create a component API, which allows developers to stop copying and pasting code snippets and instead just use a DOM element.
By using the shadow DOM, we can encapsulate the web component and not have to worry about specificity wars with any other style sheet on the page. However, web components and style guides currently seem to be at odds with each other.
The post Styling Web Components Using A Shared Style Sheet appeared first on Smashing Magazine.
Source: Smashing Magazine, Styling Web Components Using A Shared Style Sheet