From all the links I have read online, I understand that the sum of all the col classes inside a row class should be 12.
But, I have seen cases where people are using multiple col-*-12 inside a row. Is this a valid bootstrap syntax?
For example- The following is VALID-
<div class="row">
<div class="col-xs-6">
</div>
<div class="col-xs-6">
</div>
</div>
And the following is also VALID
<div class="row">
<div class="col-xs-9">
</div>
<div class="col-xs-3">
</div>
</div>
Is the following VALID?
<div class="row">
<div class="col-xs-12"></div>
<div class="col-xs-12"></div>
</div>
Please give proper reasoning.
EDIT: Thanks for letting me know that it's VALID. Can anyone let me know if it's a good idea to do so? or may be, doing the following is better
<div class="row">
<div class="col-xs-12"></div>
</div>
<div class="row">
<div class="col-xs-12"></div>
</div>
Which one is better out of the two?