Digg Interview Question: What is CSS specificity?... | Glassdoor

Interview Question

Web Applications Software Engineer Interview San Francisco, CA

What is CSS specificity?

Answer

Interview Answer

2 Answers

0

Specificity determines, which CSS rule is applied by browsers. “Specificity is a type of weighting that has a bearing on how your cascading style sheet (CSS) rules are displayed

here is very nice article explaining it
http://coding.smashingmagazine.com/2007/07/27/css-specificity-things-you-should-know/

Anonymous on Dec 10, 2011
0

Here is an excellent Medium article by Dan Eden that elaborates (with examples) how CSS specificity works:
https://medium.com/@dte/understanding-css-selector-specificity-a02238a02a59#.t2ffxzs5h

Anonymous on Feb 4, 2016

Add Answers or Comments

To comment on this, Sign In or Sign Up.