Description: This technique is very simple and allows the image to have a border outside the image.
padding:5px;
border:1px solid #ccc;
padding:5px;
background:#fff;
border:1px solid #ccc;
Description: This technique allows the image to have a drop shadow. (CSS3 Only).
The CSS means (X Distance, Y Distance, Blur Amount, RGBA(Red, Green, Blue, Alpha))
-webkit-box-shadow: 3px 3px 1px rgba(255, 255, 255, 1);
-moz-box-shadow: 3px 3px 1px rgba(255, 255, 255, 1);
Description: This technique allows the image to have an outer glow. (CSS3 Only).
The CSS means (X Distance, Y Distance, Blur Amount, RGBA(Red, Green, Blue, Alpha)
-webkit-box-shadow: 0x 0px 5px rgba(255, 255, 255, 1);
-moz-box-shadow: 0px 0px 5px rgba(255, 255, 255, 1);
Description: This technique allows the image to have an outer glow as well as a border. Similar to technique 1. (CSS3 Only).
The CSS means (X Distance, Y Distance, Blur Amount, RGBA(Red, Green, Blue, Alpha)
border:1px solid #fff;
-webkit-box-shadow: 0x 0px 5px rgba(255, 255, 255, 1);
-moz-box-shadow: 0px 0px 5px rgba(255, 255, 255, 1);
Description: This technique allows an image in an anchor to become semi-transparent when it is rolled over. It can also be applied to an img:hover - but it is unsupported in IE6. Furthermore it will also apply to anything wrapped in the anchor tag
Description: This technique allows an image to have an outer glow as well as a border. (CSS3 Only). This techniques is not supported by IE6 as in IE6 you can only use hovers on a elements.