Tomasz Mularczyk Tomasz Mularczyk - 14 days ago 6
CSS Question

Pseudo classes rule more important than other rules?

I try to display

li
elements from
none
to
block
with media query. But somehow rule is not applied...

enter image description here

In my HTML i first load style.css and then responsive.css.

Answer

That's because more specific CSS have greater priority than less specific ones.

Comments