Home > Others > CSS Inheritance, The Cascade And Global Scope: Your New Old Worst Best Friends

CSS Inheritance, The Cascade And Global Scope: Your New Old Worst Best Friends

November 21st, 2016 Leave a comment Go to comments

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.

Categories: Others Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.