Try it
Javascript
Jquery
Angular
Learn Angular
Learn Javascript
Learn Bootstrap
Learn jQuery
Bootstrap Image Responsive
.img-responsive
class makes an image responsive.
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Bootstrap Images Example</title> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <img src="http://learnkode.com/files/Bootstrap.png" class="img-responsive" alt="Bootstrap" width="304" height="236" /> </div> </body> </html>
Output
×
Save This try
Title
Description
<p><code>.img-responsive</code> class makes an image responsive.</p>