update style.css with responsive center-div
This commit is contained in:
parent
f765be68c5
commit
80a442f3c0
12
style.css
12
style.css
@ -28,11 +28,21 @@ p {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 480px) {
|
||||
.center-div {
|
||||
width: 50%;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user