Local Scope in CSS

By Elliot Jordan

Elevator Pitch

Scoped styles in CSS - is the default global scope of CSS a feature or a problem? Lately the word is that local scope is more advantageous. I’ll discuss briefly the current state of scope in CSS and some tools now available to attain local scope which gives our designs more possibility and options.

Description

Scoped styles in CSS - is the default global scope of CSS a feature or a problem? Lately the word is that local scope is more advantageous. I’ll discuss briefly the current state of scope in CSS and some tools now available to attain local scope which gives our designs more possibility and options.

Notes

This is something I am currently working through in one of my projects that has a lot of style sheets (and style conflicts). I will share my solutions and lessons learned.