Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/06/2015, 01:05
mmiiqquueell
 
Fecha de Ingreso: mayo-2015
Mensajes: 15
Antigüedad: 8 años, 11 meses
Puntos: 0
Respuesta: Problema responsive en smartphones.

Claro, ejemplo: Aqui esto muy simple el codigo y no pilla media query.

Cita:
<html >
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>



<body>
<div id="prueba1"></div>
</body>

<style>
#prueba1 {width: 950px; height: 530px; background-color: #FF0;}

@media only screen and (max-width: 600px) and (orientation: portrait) {

#prueba1 {width: 450px; height: 250px; background-color: #0FF;}
}


</style>
</html>
El navegador no da problema, el smartphone no lo pilla.