I have a simple two column key-value grid that spans a set of rows
..
<div class="row">
<div class="col-md-auto">KEY</div>
<div class="col">VALUE</div>
</div>
..
I would like to have a table like behavior, that is the key column auto adapts in width to the widest key across the rows.
This would be best done with a table like:
<div class="table-responsive">
<table class="table">
...
</table>
</div>
However, I would like to have the stack ability for smaller displays that the grid system gives.
Large display
KEY, VALUE
Small display
KEY,
VALUE,
I would like to use the auto adjust since the 12 grids available don't suit me all that well.
col-sm-12 col-lg-6to both divs