The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › CSS specificity war
http://codepen.io/anon/pen/Grxuq
Why p wins, class is 10-points and element selector 1-point ?
p wins because you have styled the p… if the p had not been styled then the p would inherit the style from it’s parent element, that being .foo