Advertisement
itskrystalized

transparency effect v2 >> simple image

Jun 29th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.49 KB | None | 0 0
  1. <style type="text/css">
  2. img { /* sima kép */
  3. padding: 0px;
  4. border: 0px;
  5. opacity: 0.5; /* átlátszóság */
  6. filter: alpha(opacity=50); /* átlátszóság */
  7. transition: all .5s ease-in-out;
  8. -o-transition: all .5s ease-in-out;
  9. -webkit-transition: all .5s ease-in-out;
  10. -moz-transition: all .5s ease-in-out;
  11. }
  12. img:hover { /* sima kép ha ráviszed az egeret */
  13. padding: 0px;
  14. border: 0px;
  15. opacity: 1; /* átlátszóság */
  16. filter: alpha(opacity=100); /* átlátszóság */
  17. }
  18. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement