This commit is contained in:
lolabird 2023-11-09 15:37:47 -07:00
commit a48661fcf4
2 changed files with 4 additions and 3 deletions

View file

@ -11,6 +11,6 @@ grid.classList.add("grid");
grid.style.width = gridWidth + 'px';
grid.style.height = gridHeight + 'px';
for (let i = 0; i < gridArea-1; i++){
for (let i = 0; i < gridArea; i++){
container.appendChild(grid.cloneNode(true));
}

View file

@ -10,12 +10,13 @@ body{
}
.container{
border: 1px solid #eee;
height: 500px;
width: 500px;
height: 600px;
width: 600px;
display: flex;
flex-wrap: wrap;
}
.grid {
border: 1px solid #eee;
box-sizing: border-box;
}