html code to have all image be responsive code example Example: responsive img .responsive-img { max-width:100%; display:block; height:auto; }