try max and min width for center-div

This commit is contained in:
Arthur Lu 2022-12-11 21:20:45 -08:00
parent b2a5c416a7
commit 1812120a32

View File

@ -29,7 +29,8 @@ p {
}
.center-div {
width: 50%;
min-width: 480px;
max-width: 50%;
margin-left: auto;
margin-right: auto;
}