responsive css: multi-column list on wide screens

This commit is contained in:
Luke Smith
2021-03-15 08:57:49 -04:00
parent 1cf5284fcd
commit c3287d9a19
5 changed files with 12 additions and 4 deletions

View File

@@ -53,3 +53,11 @@ li img {
color: black ;
}
}
@media (min-width: 55em) {
#artlist { column-count: 2 ;}
}
@media (min-width: 100em) {
#artlist { column-count: 3 ;}
}