"Understanding Responsive Utilities"
Bootstrap 3.1.0 Snippet by Joshnex

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <h4> Mr. M.'s Understanding TB's Responsive Utilities</h4> <p> Example of using Twitter Bootstrap 3's "responsive utilities" </p> <!-- see JS file for writing out size of window in class testp --> <p class="testp btn btn-success pull-right"></p> <p> <a href="http://bootsnipp.com/iframe/BER9z" target="_blank">View Full Screen</a> </p> <img src="https://www.rocketnexusdesign.com/bootsnip_images/LathedObjectImage" alt="" class="img-responsive img-rounded center-block"> <img src="https://www.rocketnexusdesign.com/bootsnip_images/Material_in_3ds_max" alt="" class="img-responsive img-rounded center-block"> <img src="https://www.rocketnexusdesign.com/bootsnip_images/Vector_man_test" alt="" class="img-responsive img-rounded center-block"> <img src="https://www.rocketnexusdesign.com/bootsnip_images/extrude_bent_text" alt="" class="img-responsive img-rounded center-block"> <br><br> <blockquote> For faster mobile-friendly development, use these utility classes for showing and hiding content by device via media query. </blockquote> <p class="lead"> Resize your browser to see <strong>four</strong> separate images displayed, depending on width of screen. </p> <p> <br> See Twitter Bootstrap docs at: <a href="http://getbootstrap.com/css/#responsive-utilities" target="_blank">http://getbootstrap.com/css/#responsive-utilities</a> </p> <p> <small>Image: <a href="http://www.flickr.com/photos/arselectronica/8613554284/sizes/k/" target="_blank">Ars Electronica</a><br> <a href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fbootsnipp.com%2Fiframe%2FBER9z" target="_blank">HTML 5 Valid</a></small> </p>
body{ background-color:black; color:#ccc; } img{ padding:30px }
/* * How to detect browser width * Ref: http://www.surfingsuccess.com/jquery/window-width.html#.Uw1RiV6Lfx4 */

Related: See More


Questions / Comments: