I currently have three div elements. When viewed on a full-screen device, each column takes up 33% of the parent div 'row', which meets my expectations. However, when the screen size is reduced, I would like div B to disappear so that div A and C can expand to sit beside each other, taking up 50% each.
<div class="row">
<div class="col-3 col-sm-6">A</div>
<div class="col-3 col-sm-0">B</div>
<div class="col-3 col-sm-6">C</div>
</div>
My question is, can this desired layout be achieved using something like col-sm-0
, or do I need to manually write a media query for it?