I'm studying css and html yet, so I may be making some banal mistake, anyway I can not solve it myself. The problem is the following I defined in the @media screen a minimum width for it to change the img logo.
Original Size Logo Code:
.logo {
width: 56px;
height: 56px;
float: left;
background: url('../img/logo-mobile.png') center center/56px no-repeat;
font-size: 0;
}
With @media screen
@media screen and (min-height: 480px){
.logo {
width: 214px;
background: url('../img/logo.png') center center/214px no-repeat;
font-size: 0;
}
.btn {
font-size: 2em;
}
}
@media even changes the logo, but with a minimum width smaller than 480px it should go back to the original, but that does not happen.
Where am I going wrong?