0
I am creating a page with responsive layout, in relation to smartphones works normally, when increasing to tablet gives no result. Why?
@media(max-width:480px){
div#formulario{
width: 250px;
height:300px;
}
}
@media (min-width:481px)and(max-width:960px){
div#formulario{
width: 350px;
height:400px;
}
}
@media(min-width:961px){
div#formulario{
width:450px;
height:500px;
}
}
Hi Lamborghini. Gives an improved formatting of the code, please. Just [Edit] the question, select the code and click the button
{}
editor. More details on http://answall.com/editing-help. Well, @brasofilo left my comment obsolete even before I published it; but here’s the tip.– bfavaretto
The first rule should not be
min-width
?– bfavaretto
Sorry for taking so long to reply @bfavaretto min-width worked all this ok
– ndroid
Is it? I realize now that my suggestion doesn’t make much sense.
– bfavaretto