2 ms·
Yes it is. And it is supported by all modern browsers (https://caniuse.com/declarative-shadow-dom https://caniuse.com/declarative-shadow-dom), for older browser
by niutech 3y ago
Yes it is. And it is supported by all modern browsers (https://caniuse.com/declarative-shadow-dom https://caniuse.com/declarative-shadow-dom), for older browsers you can add a tiny polyfill. Keep in mind that you need to link CSS stylesheet inside Declarative Shadow DOM or use CSS ::part() from outside of it.