Answers for "css layout responsive"

CSS
14

responsive css grid

@supports (display: grid) {
  main { 
    max-width: 10000px;
    margin: 0;
  }
  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
    grid-gap: 1rem;
  }
}
Posted by: Guest on March-18-2020
0

how to make page responsive using css

/*There is no definitive answer for making your page responsive. 
Though I personally use this method a lot:*/
@media only screen and (max-width: 700px) {
  body {
    background-color: red;

    }
}
Posted by: Guest on October-07-2021

Code answers related to "css layout responsive"

Browse Popular Code Answers by Language