Recently, I set up a small poll with three layout columns. On Desktop, everything looks great but the problem arises when viewing it on a mobile screen. People are displayed one under the other followed by the questions. I want to rearrange it so that each person is accompanied by their respective set of questions in a more organized manner like this:
Does anyone have any suggestions on how to solve this issue?
Here is the HTML code snippet:
<div class="col-md-12 col-xs-12">
<div class="d-table">
...
</div>
</div>
And here is some accompanying CSS:
.d-table {
display: table!important;
}
.d-table-row {
display: table-row !important;
}
...
.answerText {
margin-left: 0.375rem;
}