I’m big on modular design. I’ve long been sold on dividing websites into components, not pages, and amalgamating those components dynamically into interfaces. Flexibility, efficiency and maintainability abound.
But I don’t want my design to look like it’s made out of unrelated things. I’m making an interface, not a surrealist photomontage. As luck would have it, there is already a technology, called CSS, which is designed specifically to solve this problem. Using CSS, I can propagate styles that cross the borders of my HTML components, ensuring a consistent design with minimal effort.
The post CSS Inheritance, The Cascade And Global Scope: Your New Old Worst Best Friends appeared first on Smashing Magazine.
Source: Smashing Magazine
CSS Inheritance, The Cascade And Global Scope: Your New Old Worst Best Friends