Skip to content

Commit f5abb6a

Browse files
committed
Add card grid css
1 parent 003df98 commit f5abb6a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

02-css/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ main {
6666
width: 100%;
6767
}
6868

69+
.card {
70+
display: grid;
71+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
72+
column-gap: 5px;
73+
}
74+
6975
footer {
7076
background-color: #1212B2;
7177
padding: 32px;

0 commit comments

Comments
 (0)