how to make a responsive image in css code example Example: responsive img .responsive-img { max-width:100%; display:block; height:auto; }