“CSS Media consulta Mobile First” Respostas de código

Consulta de mídia para visualização móvel CSS

@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue;
  }
}
Collared Lizard

Consultas de mídia CSS PC e celular

@media (min-width:320px)  { /* smartphones, iPhone, portrait 480x320 phones */ }
@media (min-width:481px)  { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ }
@media (min-width:641px)  { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ }
@media (min-width:961px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { /* hi-res laptops and desktops */ }
Borma

Apenas smartphone de consulta de mídia

@media all and (max-width: 767px) {
 
}
niconius

CSS Media consulta Mobile First

@media screen  and (min-width:700px) {
    
} //this means the above media queriy will apply if the screen has a minimum screen width
 //of 700px., meaning screens with screen sizes of 700px and above will be affected by the above media query
Stancillous Raymond

Respostas semelhantes a “CSS Media consulta Mobile First”

Perguntas semelhantes a “CSS Media consulta Mobile First”

Mais respostas relacionadas para “CSS Media consulta Mobile First” em CSS

Procure respostas de código populares por idioma

Procurar outros idiomas de código