Grille AutoFit CSS

.grid {
   display: grid;
  grid-template-columns: repeat(auto-fit, 1fr);
}
web-noob master