Skip to content

Commit 27570a6

Browse files
committed
Increase gallery columns on larger screens
1 parent c88570b commit 27570a6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

assets/css/style.css

+9
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,21 @@ main {
280280
}
281281
}
282282

283+
/* Gallery */
284+
#photos {
285+
column-count: 3;
286+
}
287+
283288
/* Larger devices (laptops and desktops, 992px and up) */
284289
@media screen and (min-width: 992px) {
285290
#menu a:hover{
286291
border-bottom: 1px solid #3a3a3a;
287292
}
288293

294+
/* Gallery */
295+
#photos {
296+
column-count: 4;
297+
}
289298
}
290299

291300
@media screen and (min-width: 1200px) {

0 commit comments

Comments
 (0)