Below is the code snippet I am using in Bootstrap-
.message-preview {
background-color: green;
height:100px;
}
.inbox-preview {
background-color: blue;
height:100px;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div class = "container">
<div class = "row">
<div class = "col-md-4">
<div class='inbox-preview'>
</div>
</div>
<div class = "col-md-8">
<div class='message-preview'>
</div>
</div>
</div>
</div>
This is how it appears on a large screen- https://i.sstatic.net/leLc3.png
For smaller screens, between xs
and md
widths, I would like it to look like this -
https://i.sstatic.net/4vvHv.png
I am seeking help with rearranging the columns accordingly as described above. Your assistance will be greatly appreciated. Thank you!