Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.98 KB | None | 0 0
  1. <div class="circle">
  2. <h1>TRANCE-2014</h1>
  3. </div>
  4.  
  5. .circle {
  6. background: rgb(255, 255, 255);
  7. border-radius: 100%;
  8. cursor: pointer;
  9. position: relative;
  10. margin: 0 auto;
  11. width: 15em;
  12. height: 15em;
  13. overflow: hidden;
  14. -webkit-transform: translateZ(0);
  15. -moz-transform: translateZ(0);
  16. -ms-transform: translateZ(0);
  17. transform: translateZ(0);
  18. }
  19. .circle h1 {
  20. color: rgba(189, 185, 199, 0);
  21. font-family:'Lato', sans-serif;
  22. font-weight: 900;
  23. font-size: 1.6em;
  24. line-height: 8.2em;
  25. text-align: center;
  26. text-transform: uppercase;
  27. -webkit-font-smoothing: antialiased;
  28. -webkit-user-select: none;
  29. -moz-user-select: none;
  30. -ms-user-select: none;
  31. user-select: none;
  32. -webkit-transition: color 0.8s ease-in-out;
  33. -moz-transition: color 0.8s ease-in-out;
  34. -ms-transition: color 0.8s ease-in-out;
  35. transition: color 0.8s ease-in-out;
  36. }
  37. .circle:before, .circle:after {
  38. border-radius: 100%;
  39. content:"";
  40. position: absolute;
  41. top: 0;
  42. left: 0;
  43. width: inherit;
  44. height: inherit;
  45. box-shadow: inset 10.6em 0 0 rgba(30, 140, 209, 0.2), inset 0 10.6em 0 rgba(30, 140, 209, 0.2), inset -10.6em 0 0 rgba(30, 140, 209, 0.2), inset 0 -10.6em 0 rgba(30, 140, 209, 0.2);
  46. -webkit-transition: box-shadow 0.75s;
  47. -moz-transition: box-shadow 0.75s;
  48. -ms-transition: box-shadow 0.75s;
  49. transition: box-shadow 0.75s;
  50. }
  51. .circle:after {
  52. -webkit-transform: rotate(45deg);
  53. -moz-transform: rotate(45deg);
  54. transform: rotate(45deg);
  55. }
  56. .circle:hover:before, .circle:hover:after {
  57. box-shadow: inset 0.86em 0 0 rgba(255, 0, 0, 0.5), inset 0 0.86em 0 rgba(252, 150, 0, 0.5), inset -0.86em 0 0 rgba(0, 255, 0, 0.5), inset 0 -0.86em 0 rgba(0, 150, 255, 0.5);
  58. }
  59. .circle:hover > h1 {
  60. color: rgba(185, 185, 185, 1);
  61. }
  62.  
  63. .circle {
  64. background: rgb(255, 255, 255);
  65. border-radius: 100%;
  66. cursor: pointer;
  67. position: relative;
  68. margin: 0 auto;
  69. width: 15em;
  70. height: 15em;
  71. overflow: hidden;
  72. -webkit-transform: translateZ(0);
  73. -moz-transform: translateZ(0);
  74. -ms-transform: translateZ(0);
  75. transform: translateZ(0);
  76. }
  77. .circle h1 {
  78. font-family:'Lato', sans-serif;
  79. font-weight: 900;
  80. font-size: 1.6em;
  81. line-height: 8.2em;
  82. text-align: center;
  83. text-transform: uppercase;
  84. -webkit-font-smoothing: antialiased;
  85. -webkit-user-select: none;
  86. -moz-user-select: none;
  87. -ms-user-select: none;
  88. user-select: none;
  89. -webkit-animation: showText 2s infinite; /* Safari/Chrome 4+ */
  90. -moz-animation: showText 2s infinite; /* Firefox 5+ */
  91. -o-animation: showText 2s infinite; /* Opera 12+ */
  92. animation: showText 2s infinite; /* IE 10+ */
  93. animation-timing-function: ease-in-out;
  94.  
  95. /*
  96. ** -webkit-transition: color 0.8s ease-in-out;
  97. ** -moz-transition: color 0.8s ease-in-out;
  98. ** -ms-transition: color 0.8s ease-in-out;
  99. ** transition: color 0.8s ease-in-out;
  100. */
  101. }
  102. .circle:before, .circle:after {
  103. border-radius: 100%;
  104. content:"";
  105. position: absolute;
  106. top: 0;
  107. left: 0;
  108. width: inherit;
  109. height: inherit;
  110. -webkit-animation: moveCircle 2s infinite; /* Safari/Chrome 4+ */
  111. -moz-animation: moveCircle 2s infinite; /* Firefox 5+ */
  112. -o-animation: moveCircle 2s infinite; /* Opera 12+ */
  113. animation: moveCircle 2s infinite; /* IE 10+ */
  114.  
  115. /*
  116. ** -webkit-transition: box-shadow 0.75s;
  117. ** -moz-transition: box-shadow 0.75s;
  118. ** -ms-transition: box-shadow 0.75s;
  119. ** transition: box-shadow 0.75s;
  120. */
  121. }
  122. .circle:after {
  123. -webkit-transform: rotate(45deg);
  124. -moz-transform: rotate(45deg);
  125. transform: rotate(45deg);
  126. }
  127. @-webkit-keyframes moveCircle {
  128. 0% {
  129. box-shadow: inset 10.6em 0 0 rgba(30, 140, 209, 0.2), inset 0 10.6em 0 rgba(30, 140, 209, 0.2), inset -10.6em 0 0 rgba(30, 140, 209, 0.2), inset 0 -10.6em 0 rgba(30, 140, 209, 0.2);
  130. }
  131. 100% {
  132. box-shadow: inset 0.86em 0 0 rgba(255, 0, 0, 0.5), inset 0 0.86em 0 rgba(252, 150, 0, 0.5), inset -0.86em 0 0 rgba(0, 255, 0, 0.5), inset 0 -0.86em 0 rgba(0, 150, 255, 0.5);
  133. }
  134. }
  135. @-moz-keyframes moveCircle {
  136. 0% {
  137. box-shadow: inset 10.6em 0 0 rgba(30, 140, 209, 0.2), inset 0 10.6em 0 rgba(30, 140, 209, 0.2), inset -10.6em 0 0 rgba(30, 140, 209, 0.2), inset 0 -10.6em 0 rgba(30, 140, 209, 0.2);
  138. }
  139. 100% {
  140. box-shadow: inset 0.86em 0 0 rgba(255, 0, 0, 0.5), inset 0 0.86em 0 rgba(252, 150, 0, 0.5), inset -0.86em 0 0 rgba(0, 255, 0, 0.5), inset 0 -0.86em 0 rgba(0, 150, 255, 0.5);
  141. }
  142. }
  143. @-o-keyframes moveCircle {
  144. 0% {
  145. box-shadow: inset 10.6em 0 0 rgba(30, 140, 209, 0.2), inset 0 10.6em 0 rgba(30, 140, 209, 0.2), inset -10.6em 0 0 rgba(30, 140, 209, 0.2), inset 0 -10.6em 0 rgba(30, 140, 209, 0.2);
  146. }
  147. 100% {
  148. box-shadow: inset 0.86em 0 0 rgba(255, 0, 0, 0.5), inset 0 0.86em 0 rgba(252, 150, 0, 0.5), inset -0.86em 0 0 rgba(0, 255, 0, 0.5), inset 0 -0.86em 0 rgba(0, 150, 255, 0.5);
  149. }
  150. }
  151. @keyframes moveCircle {
  152. 0% {
  153. box-shadow: inset 10.6em 0 0 rgba(30, 140, 209, 0.2), inset 0 10.6em 0 rgba(30, 140, 209, 0.2), inset -10.6em 0 0 rgba(30, 140, 209, 0.2), inset 0 -10.6em 0 rgba(30, 140, 209, 0.2);
  154. }
  155. 100% {
  156. box-shadow: inset 0.86em 0 0 rgba(255, 0, 0, 0.5), inset 0 0.86em 0 rgba(252, 150, 0, 0.5), inset -0.86em 0 0 rgba(0, 255, 0, 0.5), inset 0 -0.86em 0 rgba(0, 150, 255, 0.5);
  157. }
  158. }
  159. @-webkit-keyframes showText {
  160. 0% {
  161. color: rgba(189, 185, 199, 0);
  162. }
  163. 100% {
  164. color: rgba(185, 185, 185, 1);
  165. }
  166. }
  167. @-moz-keyframes showText {
  168. 0% {
  169. color: rgba(189, 185, 199, 0);
  170. }
  171. 100% {
  172. color: rgba(185, 185, 185, 1);
  173. }
  174. }
  175. @-o-keyframes showText {
  176. 0% {
  177. color: rgba(189, 185, 199, 0);
  178. }
  179. 100% {
  180. color: rgba(185, 185, 185, 1);
  181. }
  182. }
  183. @keyframes showText {
  184. 0% {
  185. color: rgba(189, 185, 199, 0);
  186. }
  187. 100% {
  188. color: rgba(185, 185, 185, 1);
  189. }
  190. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement