Skip to main content

All Questions

0 votes
1 answer
25 views

Precedence in parent/child classes of same specificity [duplicate]

In the given code snippet why font size of h1 element is 36px? I have these questions : If h1 is defined 1st, then the font size of main(i.e. 32px) should be applied on the h1 heading, as it is ...
Shubhang Sahu's user avatar