wagtel 0 Posted May 9, 2015 Report Share Posted May 9, 2015 (edited) Olá pessoal: Estou iniciando no Site responsivo e já estou com um problemão. Criei um site para cinco resoluções diferentes, Apesar dele ser "Layout Fluído" Este site funciona bem quando redimensionado manualmente @media screen and (max-width:540px) { ..... } @media screen and (min-width:541px) and (max-width:960px){ ..... } Mas quando ponho ele na web com os "device" @media screen and (max-device-width:540px) { ..... } @media acreen and (min-device-width:541px) and (max-device-width:960px) { ...... } O CSS não funciona no meu mobile de 540x960px quando viro ele, ou aceita um ou aceita o outro. De portrait para landscape Alguém poderia ma dar uma luz de como fazer isto funcionar? Edited May 9, 2015 by wagtel Quote Link to post Share on other sites
Question
wagtel 0
Olá pessoal:
Estou iniciando no Site responsivo e já estou com um problemão.
Criei um site para cinco resoluções diferentes, Apesar dele ser "Layout Fluído"
Este site funciona bem quando redimensionado manualmente
@media screen and (max-width:540px) {
.....
}
@media screen and (min-width:541px) and (max-width:960px){
.....
}
Mas quando ponho ele na web com os "device"
@media screen and (max-device-width:540px) {
.....
}
@media acreen and (min-device-width:541px) and (max-device-width:960px) {
......
}
O CSS não funciona no meu mobile de 540x960px quando viro ele, ou aceita um ou aceita o outro.
De portrait para landscape
Alguém poderia ma dar uma luz de como fazer isto funcionar?
Edited by wagtelLink to post
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.