“Medienfragen w3schools” Code-Antworten

Medienfragen w3schools

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

CSS -Medienabfrage

/* BOOSTRAP MEDIA BREAKPOINTS */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {  
  .selector {
  	background-color:#f00;
  }
}
/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}
gtamborero

Medien-Anfragen

/* b/w 577px to 720px screens */
@media only screen and (min-width: 577px) and (max-width: 720px) {
	h1 {
		font-size: 1.0rem;
	}
}
shahul

@Media Query CSS

@media screen and (min-width: 320px) and (max-width: 786px) {
	// custom CSS
}
hamzah

Medien-Anfragen

@media screen and (max-width: 480px) { }
BlueMoon

Medienabfrage in CSS

Mobile screen friendly using Media Query
Lazy Llama

Ähnliche Antworten wie “Medienfragen w3schools”

Fragen ähnlich wie “Medienfragen w3schools”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen