Tag-Archive for » design «
21
Dec 2010
Have you ever thought of how CSS rules are rendered by browsers? How do browsers define which CSS rules have higher priority? Beginning web developers sooner or later come to the question of CSS Specificity. Just imagine your CSS file has the following lines:
p {color:white;}
p {color:red;}
How should browsers render this code? There must be some way to determine the importance of this or that line. And this way exists – it’s called CSS Specificity.
more…
Category: Uncategorized
Leave a Comment
