"hey dad"
Bootstrap 3.3.0 Snippet by alexhickin

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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 ----------> <div class="container"> <div class="row"> <h2>hey Dad</h2> <p class="testp btn btn-success pull-right"></p> <p> <a href="http://bootsnipp.com/iframe/W05Aj" target="_blank">View Full Screen</a> </p> </style> <div class="visible-lg"> <img src="http://i.imgur.com/UZORB15.jpg" alt="" class="img-responsive img-rounded center-block"> <p class="text-center btn-danger"> Large devices Desktops (≥1200px) </p> </div> <div class="visible-md"> <img src="http://i.imgur.com/5jHMhfs.jpg" alt="" class="img-responsive img-rounded center-block"> <p class="text-center btn-warning"> Medium devices Desktops (≥992px) </p> </div> <div class="visible-sm"> <img src="http://i.imgur.com/1EpWq8J.jpg" alt="" class="img-responsive img-rounded center-block"> <p class="text-center btn-info"> Small devices Tablets ( (≥768px)) </p> </div> <div class="visible-xs"> <img src="http://i.imgur.com/uT5BNqm.jpg" alt="" class="img-responsive img-rounded center-block"> <p class="text-center btn-success"> Extra small devices Phones (<768px) </p> </div> </div> </div>
$(window).ready(function() { var wi = $(window).width(); $("p.testp").text('Initial screen width is: ' + wi + 'px.'); $(window).resize(function() { var wi = $(window).width(); $("p.testp").text('Width is currently: ' + wi + 'px.'); });

Related: See More


Questions / Comments: