0
I’m developing a desktop and mobile site, but when I’m on mobile, I have to decrease the height of the slider on the right mobile, however when I put min-height:250px ! Mportant, it won’t , even if I try in every way I can not solve see the example
Desktop code :
.banner ul li {
display: block;
float: left;
width: 33%;
padding: 160px 0 110px;
min-height: 506px !important;
box-shadow: inset 0 -3px 6px rgba(0,0,0,.1);
}
Mobile Code :
@media screen and (max-width:320px) {
.banner ul li {
min-height:250px !important;
overflow:hidden;
background-size: 100% 250px !important;
box-shadow: inset 0 -3px 6px rgba(0,0,0,.1);
}
}
======
can tell me what I can do ?
Does the desktop browser have a problem too? (resizing the window to below 320px)
– Oeslei
not fish, the problem only works with the 320px, when I try to put this code min-height:250px ! Important; it does not obey !
– Edward Junior
@Edwardjunior, put your code on http://jsfiddle.net and put the link here that is easier to test.
– André Ribeiro
already got VLW galley In the main code I was putting ! Important, was giving conflict already got vlw
– Edward Junior