elyaszbha

CSS Layout CODE for FrenzyFM v2

May 18th, 2012
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.10 KB | None | 0 0
  1. #information_elyaszbha. {
  2. * cascading style sheets layout [css]: ;
  3. * copyright 2012-2013 by elyaszbha: ;
  4. * website: http://flavors.me/elyaszbha;
  5. * updates: may 18, 2012;
  6. * attention: you can alter/edit/copy codes.;
  7. * browser: cross-browser compatibility;
  8. }
  9.  
  10. ========================================
  11. 1. BACKGROUND WITH CURSOR CODE
  12. ========================================
  13.  
  14. body {
  15. background-position: center center;
  16. background-repeat: repeat;
  17. background-attachment: scroll;
  18. background: #683b20 url('URL_GAMBAR_BACKGROUND');
  19. cursor: url('URL_ANAK_PANAH'), progress !important;
  20. }
  21.  
  22. .layout_page_header {
  23. background-color:
  24. transparent;
  25. text-align: center;
  26. padding: 0;
  27. clear: both;
  28. border-bottom: 0 solid
  29. transparent;
  30. background-repeat: no-repeat;
  31. background-position: top center;
  32. }
  33.  
  34. ========================================
  35. 2. CURSOR CODE
  36. ========================================
  37.  
  38. body, a:hover {
  39. cursor: url(URL_ANAK_PANAH), url(URL_ANAK_PANAH), progress !important;
  40. }
  41.  
  42. ========================================
  43. 3. HOVER IMAGE EFFECT (STYLE 1-Fade In and Fade out)
  44. ========================================
  45.  
  46. img {
  47. filter: progid:dximagetransform.microsoft.alpha(opacity=50);
  48. khtml-opacity: 0.5;
  49. moz-opacity: 0.5;
  50. opacity: 0.5;
  51. }
  52.  
  53. a:hover img {
  54. filter: progid:dximagetransform.microsoft.alpha(opacity=100);
  55. khtml-opacity: 0.99;
  56. moz-opacity: 0.99;
  57. opacity: 0.99;
  58. }
  59.  
  60. ========================================
  61. 4. HOVER IMAGE EFFECT (STYLE 2-Fade In and Reflect)
  62. ========================================
  63.  
  64. img {
  65. margin: 1px;
  66. opacity: 0.8;
  67. border: 1px solid #eee;
  68. -webkit-transition: all 0.5s ease;
  69. -moz-transition: all 0.5s ease;
  70. -o-transition: all 0.5s ease;
  71. -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(.7, transparent), to(rgba(0,0,0,0.1)));
  72. }
  73.  
  74. img:hover {
  75. opacity: 1;
  76. -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(.7, transparent), to(rgba(0,0,0,0.4)));
  77. -webkit-box-shadow: 0px 0px 20px rgba(255,255,255,0.8);
  78. -moz-box-shadow: 0px 0px 20px rgba(255,255,255,0.8);
  79. box-shadow: 0px 0px 20px rgba(255,255,255,0.8);
  80. }
  81.  
  82. ========================================
  83. 5. HOVER IMAGE EFFECT (STYLE 3-Spinning 360*)
  84. ========================================
  85.  
  86. img {
  87.         margin: 0px;
  88.         border: 2px solid #eee;
  89.         -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
  90.         -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
  91.         box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
  92.         -webkit-transition: all 1.5s ease-out;
  93.         -moz-transition: all 1.5s ease;
  94.         -o-transition: all 1.5s ease;
  95. }
  96.  
  97. img:hover {
  98.         -webkit-transform: rotate(-360deg);
  99.         -moz-transform: rotate(-360deg);
  100.         -o-transform: rotate(-360deg);
  101. }
  102.  
  103. ========================================
  104. 10. LINK CODE
  105. ========================================
  106.  
  107. a:link {
  108. text-decoration: none;
  109. color: #8A360F;
  110. }
  111. a:link:hover {
  112. text-decoration: none;
  113. color: #CC7F32;
  114. }
  115. a:visited {
  116. text-decoration: none;
  117. color: #8A360F;
  118. }
  119.  
  120. ========================================
Advertisement
Add Comment
Please, Sign In to add comment