Skip to content

Commit 08113ad

Browse files
committed
refactor: grid
1 parent 8b5da45 commit 08113ad

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

040-3d boxes background/style.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ body {
4242
}
4343

4444
.boxes {
45-
display: flex;
46-
flex-wrap: wrap;
47-
justify-content: space-around;
45+
display: grid;
46+
grid-template-columns: repeat(4, 1fr);
4847
height: 500px;
4948
width: 500px;
5049
position: relative;

0 commit comments

Comments
 (0)