CSS effects to use in images

Asked

Viewed 238 times

0

Would anyone like to tell me some CSS effects for general image files? I know some, however I wonder if there are effects like inflating, shadow projected among others only using CSS.

1 answer

1


Best article that this one don’t 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">

Browser other questions tagged

You are not signed in. Login or sign up in order to post.