Day 321

And today we work on grid-auto-flow: dense
#CodingPhase #TheCodingWay #365CodingPhaseChallenge

**********

  <style>
    .container {
      display: grid;
      grid-gap: 20px;
      grid-template-columns: repeat(10, 1fr);
      grid-auto-flow: dense;
    }
    .item:nth-child(6n) {
      background: cornflowerblue;
      grid-column: span 6;
    }
    .item:nth-child(8n) {
      background: tomato;
      grid-column: span 2;
    }
    .item:nth-child(9n) {
      grid-row: span 2;
    }
    .item18 {
      background: greenyellow !important;
      grid-column-end: -1 !important;
    }
  </style>

Comments

Popular posts from this blog

Day 1

Day 365 + 1

Day 365 + 2