Top "Custom-element" questions

Custom Elements are a feature of HTML that provide a way for you to build your own fully-featured DOM elements and use them in your HTML markup, CSS stylesheets, and JavaScript code

Failed to execute 'createElement' on 'Document': The result must not have children

I've been using custom elements v1 for a while now via a polyfill. Chrome 54 (the first version with a native …

custom-element
Styling a child of a shadow root in Shadow DOM

I'm trying to style a child element of a shadow DOM root. This defines a custom element called element-el, which …

css web-component shadow-dom custom-element
Can I access custom html tag <component> or <slot> contents

Let's say I want to create a custom html element such as: <video-container> <video></video&…

javascript html web-component shadow-dom custom-element