AI, Data Science & Cloud Certificates from Google, IBM & Meta
Master Production-Ready Machine Learning, Step by Step
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains how Light DOM and Shadow DOM affect styling Web Components, including CSS inheritance, slots, browser inconsistencies, and compatibility approaches. It also explores using theming to build consistency in a design library.
Syllabus
Introduction
Cassandra Roberts
Custom Element Registry
Custom Builtins
Autonomous Custom Elements
Encapsulation
CSS Best Practices
Building a Web Component
Live Coding
Moral of the Story
Custom Properties
Generic Properties
Be Thoughtful
Spectrum Design Systems
Web Component Encapsulation
What is Light on DOM
Slot tag
Sloted styling
Bonkers example
Part specification
Part example
Part in use
Global attribute names
Utility languages
Frameworks
Conclusion
Taught by
Web Conferences Amsterdam