Better Effects for images using CSS filter [code snippet]
It is very common for developers to use the good old box-shadow when they want to create a hover effect. However if your image is not square and has a transparent background, like this doggy below. It will look all sorts of strange. In the example above, we use the