Modifying images using css

by barkkathulla 2014-04-07 10:53:45

Modifying images using css



HTML PORTION:

<div class="cmt">
<img class="show_content" src="given_image.png">
</div>

CSS PORTION:

.show_content {
background: url(sample_image.png) no-repeat;
width: 200px; /* Width of new image */
height: 200px; /* Height of new image */
}

1404
like
0
dislike
0
mail
flag

You must LOGIN to add comments