Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/10/2012, 03:49
ferminako
 
Fecha de Ingreso: abril-2010
Mensajes: 298
Antigüedad: 14 años
Puntos: 1
Respuesta: Dudas con responsive, compatibilidad y resoluciones

Gacias por tu respuesta, y que es más optimo cargar un css por cada resolucion tipo <link rel="stylesheet" media.... o un css con todas las opciones como aki...

Código CSS:
Ver original
  1. <style>
  2. #contenedor{
  3. background: crimson;
  4. width:200px;
  5. height: 200px;
  6. }
  7.  
  8. @media screen and (min-width : 1024px){
  9.     #contenedor{
  10.       background: blue;
  11.     }
  12. }
  13. </style>

Y las mediaqueries mejor por min, o por max wdth segun disposiivo :
Código CSS:
Ver original
  1. <link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="dispositivoMovil.css" />

Última edición por ferminako; 28/10/2012 a las 04:11