Is there a way, without using bootstrap grid, to:
On larger devices
- div.left left-aligned in .header-wrapper
- div.right right-aligned in .header-wrapper
On small device
- stack div.left and div.right on top of each other
<div class="container">
<div class="header-wrapper">
<div class="left"> This is some longer text that may not fit in-line with buttons</div>
<div class="right">
<a type="button" class="btn btn-default">Table</a>
<a type="button" class="btn btn-default">Charts</a>
</div>
</div>
<p>Some content here</p>
<div class="header-wrapper">
<div class="in-line">
This would be an inline example
</div>
<div class="in-line">
Divs will stack without media queries
</div>
</div>
</div>
Is it possible without media queries? for example using inline-block on .left .right would take care of stacking. (see inline-example in html code)
Is it possible to left/right align inline-block divs?