Answers for "using @media css"

CSS
4

css @media

/* When the width is between 600px and 900px OR above 1100px */
@media screen and (min-width: 600px) and (max-width: 900px), (min-width: 1100px) {
  div.example {...}
}
Posted by: Guest on December-15-2020
0

media rule css

@media only screen and (min-width: 1000px) {
  /* place here CSS for when the screen is more than 1000px wide */
  .card {
    width: 50%;
  }
}
Posted by: Guest on June-01-2021

Browse Popular Code Answers by Language