css - Bootstrap swap grid spans -
working on bootstrap template , while i'd large grid remain in correct order of span4 span8... i'd them reverse span8 span4 when screen size under 768. don't want use js on this... i'd wondering if there way, , how so, float spans left under 768 right. or maybe there better way.
diagram
<div class="row"> <div class="span4">hello</div> <div class="span8">world</div> </div screen width greater 768 displays hello world screen width less or equal 768 displays world hello
add class of 'right' span8, set media query float: right when less 768.
Comments
Post a Comment