Monday, July 18, 2011

CSS style precedence

Working with CSS styles sometimes is a pain. Need to know how exactly the styles are applied to each control. One of my friends (Rohit Raj) pointed me to this blog. This blog very well explains the style precedence in CSS.

http://www.vanseodesign.com/css/css-specificity-inheritance-cascaade/

This document very well explains the three important aspects that control which style needs to be applied to a control.

  • Specificity Calculations
  • Inheritance
  • The Cascade

No comments:

Featured post

How to connect to Mongo Atlas from Robo 3T

If you use a local instance of MongoDB, you might be a great fan of Robo3T. However, if you are using Mongo Atlas, the Atlas web interface p...

Popular Posts