CSS Documentation

This commit is contained in:
Eric Fawcett 2020-04-10 15:22:57 -04:00
parent 46ec46e26d
commit fa4e80c262
1 changed files with 3 additions and 3 deletions

View File

@ -17,18 +17,18 @@
background-color: #444444;
/*overflow: hidden;*/
}
.grid-container {
.grid-container { /* Default to single column for small screens */
display: grid;
grid-template-columns: auto;
grid-gap: 2px 2px;
/* height: 90vh; */
}
@media only screen and (min-width: 640px){
@media only screen and (min-width: 640px){ /* Two columns for tablets */
.grid-container {
grid-template-columns: auto auto;
}
}
@media only screen and (min-width: 981px){
@media only screen and (min-width: 981px){ /* Three columns for large screens */
.grid-container {
grid-template-columns: auto auto auto;
}