"SrcSet "
Bootstrap 3.0.0 Snippet by SLGShark6

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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"> <img id="resizeMe" class="img-responsive" src="images/space-needle.jpg" size="70vw" srcset="https://www.w3schools.com/css/trolltunga.jpg 1919w, https://tse4.mm.bing.net/th?id=ORT.TH_470633631&pid=1.12&eid=G.470633631 1920w" alt="bs" /> </div> </div>
var img = document.getElementById('resizeMe'); window.onresize = function() { img.outerHTML = img.outerHTML; console.log("Redraw"); }

Related: See More


Questions / Comments: