How to make images responsive by default in Twitter Bootstrap 3
July 23, 2014
I'm currently working on a simple blog app in Django and noticed that my images are not getting resized by default when using Bootstrap 3.
To change this behavior, simply change the img tag in bootstrap.css to this:
img {
display: inline-block;
height: auto !important;
max-width: 100%;
border: 0;
}
Tags: howto, tech, software development, twitter bootstrap