Polymer's Styling System (The Polymer Summit 2015)

21 123
31.6
Опубликовано 15 сентября 2015, 13:58
Traditionally, CSS stylesheets have a terrible opinion about style encapsulation: the only thing stopping one element’s style from stomping over another’s is a “well chosen class name”. The Shadow DOM fixes this by building a little castle and a moat around each element, so that styles can’t get in and out of the web component castle. But what happens if you _do_ want to style this custom element? How do you cross the moat? Custom properties, that’s how.

To learn more about building with Polymer, check out Polycasts by Rob Dodson: goo.gl/vdtIFR

Subscribe to Chrome Developers on Youtube here: goo.gl/n7mBHx
Случайные видео
207 дней – 153 9459:13
Pixel 9 Pro - 5 NEW Changes!
17.07.20 – 6 154 01411:20
iPhone 12 Pro Max Clone Unboxing!
автотехномузыкадетское