use media query for responsive center-div class
This commit is contained in:
parent
1812120a32
commit
0810b361bd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user