CSS effects for use in images [closed]

0

Would anyone know how to tell me some CSS effects for image files in general? I know some, however I would like to know if there are effects like inflate, shadow cast among others only using CSS.

    
asked by anonymous 24.06.2015 / 23:14

1 answer

0

Best article that this one I do not know.

An example of the operation, taken from the article itself, is this:

img { display: block; width: 90%; }

img.filtro {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}
<p>Imagem normal</p>
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/392/redwood-ukulele-top.jpg"alt="ukulele">

<p>Imagem com filtro</p>
<img class="filtro" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/392/redwood-ukulele-top.jpg"alt="ukulele">
    
24.06.2015 / 23:31