html - How do i make Bootstrap columns responsive on all devices? -


i'm developing login/register page need columns. page looks on desktop 1920x180: http://prntscr.com/cl4ms8

i using <div class="col-xs-6"> on both of forms evenly split on page. how go across making responsive on devices looks on iphone 6: http://prntscr.com/cl4ndb

you elements col-xx-n classes need children or descendants of element class container-fluid.

so, responsive:

<div class="container-fluid"> <div class="col-md-4">this div takes 1/3 of available width on desktop</div> <div class="col-md-8">this div takes 2/3 of available width on desktop</div> </div>


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -