update style.css with responsive center-div
This commit is contained in:
parent
dc778fe317
commit
f1f820aeb2
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