Back to Glossary
FrontendAdvanced

What is Shadow DOM?

A browser feature that isolates a component's HTML and CSS from the rest of the page.

Why It Matters

Shadow DOM prevents a component's styles from leaking out or being affected by external styles.

Real-World Example

A custom video player component with its own styles that are not affected by the page's global CSS.

“Understanding terms like Shadow DOM matters because it helps you have better conversations with developers and make smarter decisions about your software. You do not need to be technical. You just need to know enough to ask the right questions.”

Callum Holt, Founder, 13Labs

Learn More at buildDay Melbourne

Want to understand these concepts hands-on? Join our one-day workshop and build a real web application from scratch.