I'm not sure why my media query is working for sizes larger than specified. For example, an image with class portrait
is showing up on my laptop as 250px rather than the 400px expected.
My media query is structured as follows and is at the end of my CSS.
@media screen and (max-width: 767px) {
.portrait {
height: 250px;
}
}
Full code: Codeply