When using Bootstrap's col-xx classes, the padding can sometimes result in wasted space on smaller screens. To address this, I have decided to remove the padding by nesting col-xx with specific CSS settings like shown below:
<style>
div[class^=col-] > div[class^=col-] {
padding-left: 0px;
padding-right: 0px;
}
</style>
<div class="row">
<div class="col-xs-12">
<div class="col-xs-4">a</div>
<div class="col-xs-4">b</div>
<div class="col-xs-4">c</div>
</div>
</div>
Does my implementation appear correct? Are there any potential styling issues with nesting col-xx directly?