Answers for "html div grid 9x9"

0

html div grid 9x9

<div class="grid">
  <div class="cell" style="background-color: green">1</div>
  <div class="cell" style="background-color: red">1</div>
  <div class="cell" style="background-color: blue">1</div>
  <div class="cell" style="background-color: yellow">1</div>
</div>
Posted by: Guest on June-29-2021
0

html div grid 9x9

.grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

.cell {
  flex: 0 0 33%;
  height: 100px;
  width: 100px;
  margin-bottom: 5px;
}
Posted by: Guest on June-29-2021

Browse Popular Code Answers by Language