use media query for responsive center-div class

This commit is contained in:
Arthur Lu 2022-12-11 21:28:53 -08:00
parent 1812120a32
commit 0810b361bd

View File

@ -28,12 +28,21 @@ p {
text-align: left;
}
@media screen and (min-width: 480px) {
.center-div {
min-width: 480px;
max-width: 50%;
margin-left: auto;
margin-right: auto;
}
}
@media screen and (max-width: 480px) {
.center-div {
width: 100%;
margin-left: auto;
margin-right: auto;
}
}
.btn-group {
margin: 0 auto;