I'm trying to resize the logo of my webpage when the screen hits a max-width of 991px. I added a background-color of black just to see if it works. The background color changes but the height doesn't. When I inspected the element on Chrome, the height on my media query is crossed out. And when I unchecked the height in my body/original CSS, the height in my media query works.
Codes:
.webpage-logo{
position: relative;
width: 15%;
height: 10%;
margin-bottom: 0;
}
@media only screen and (max-width: 1199px){
.webpage-logo{
height: 500px;
//background-color: #000;
}
}