xmisa0923

sidebar

Jul 31st, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. NORMAL
  2.  
  3.  
  4.  
  5. #lsidebar img {
  6. width: 100px;
  7. padding:10px;
  8. border:1px solid #f0f0f0;
  9. -webkit-transition: opacity 0.7s linear;
  10. opacity: 0.7s;
  11. -webkit-transition: all 0.6s ease-out;
  12. -moz-transition: all 0.6s ease-out;
  13. transition: all 0.6s ease-out
  14. }
  15.  
  16. #lsidebar img:hover {
  17. opacity:.9;
  18. -webkit-transition: opacity 0.7s linear;
  19. opacity: 0.7s;
  20. -webkit-transition: all 0.6s ease-out;
  21. -moz-transition: all 0.6s ease-out;
  22. transition: all 0.6s ease-out;
  23. }
  24.  
  25.  
  26.  
  27.  
  28. SATURATE
  29.  
  30.  
  31.  
  32. #lsidebar img {
  33. filter: url(http://static.tumblr.com/eptm5us/ueTmafr4p/filters.svg#grayscale); /* Firefox 3.5+ */
  34. filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, IE10 */
  35.  
  36. filter: gray; /* IE6-9 */
  37. -webkit-filter: grayscale(20%); /* Chrome 19+ & Safari 6+ */
  38. -webkit-transition: all .7s ease; /* Fade to color for Chrome and Safari */
  39. -webkit-backface-visibility: hidden; /* Fix for transition flickering */}
  40.  
  41. #lsidebar img:hover {
  42. filter: none;
  43. -webkit-filter: grayscale(0%);}
  44.  
  45.  
  46.  
  47.  
  48. FADE
  49.  
  50.  
  51. #lsidebar img {
  52. width: 100px;
  53. padding:10px;
  54. border:1px solid #f0f0f0;
  55. -webkit-transition: opacity 0.7s linear;
  56. opacity: .8;
  57. -webkit-transition: all 0.6s ease-out;
  58. -moz-transition: all 0.6s ease-out;
  59. transition: all 0.6s ease-out
  60. }
  61.  
  62. #lsidebar img:hover {
  63. opacity:1.0;
  64. -webkit-transition: opacity 0.7s linear;
  65. opacity: 0.7s;
  66. -webkit-transition: all 0.6s ease-out;
  67. -moz-transition: all 0.6s ease-out;
  68. transition: all 0.6s ease-out;
  69. }
Advertisement
Add Comment
Please, Sign In to add comment