responsive design - Can't hide navigation when screen gets smaller -
i wan't hide nav
, made img
smaller when screen gets smaller 750px
.
this doesn't work:
@media (max-width: 750px) header#site-header a.logo img margin: 15px height: 25px nav display: none
and does:
@media (max-width: 750px) header#site-header .container a.logo img margin: 15px height: 25px nav display: none
the stylesheet before media queries overwriting styles. specifying direct path element gets higher priority , work. or can place !important give higher priority.
Comments
Post a Comment