CSS Tricks - tricks

CSS gray images

This example shows how to make a grayscale div, no matter what its content is. For this, you need to use .svg (Scalable Vector Graphics) files located within the CSS style folder.

Attention! For Safari < 6 you can use this link

Opacity for all browsers

This is a simple variable opacity effect (or filter) example using CSS. It should work on all browsers.


Sign up for inspiration, news and updates