Greyscale Images


/ Published in: HTML
Save to your folder(s)

Image will be greyscale and will turn colored when hovered over


Copy this code and paste it in your HTML
  1. <!-- start code provided by createblog.com -->
  2. <img src="yourimagehere" style="filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)" onmouseover="this.style.filter = 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=0)'" onmouseout="this.style.filter = 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)'">
  3. <!-- end code provided by createblog.com -->

URL: http://www.createblog.com/scripts/download.php?id=179

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.