sizze image according to veiwoirt html code example Example: responsive img .responsive-img { max-width:100%; display:block; height:auto; }