Technique for set up responsive image:
Create responsive images by adding an
.img-responsive
class
to the <img>
tag. The image will then scale nicely to the parent element.The .img-responsive
class applies display: block;
and max-width: 100%;
and
height: auto;
to the image:
No comments:
Post a Comment