30 lines
507 B
CSS
30 lines
507 B
CSS
.side-by-side {
|
|
display: flex;
|
|
width: 100%;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.side-by-side-item {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
@media only screen and (min-width: 999px) {
|
|
.side-by-side {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.side-by-side-item {
|
|
width: 48%;
|
|
margin: 0.5%;
|
|
}
|
|
}
|