Kid-Shadow

DOWLOAD AND DEMO

Apr 17th, 2016
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. <style>
  2. .abt-button {
  3. margin: 50px auto;
  4. width: 200px;
  5. }
  6. /* Get this button at Terocket.com */
  7. .abt-button a {
  8. background: -moz-linear-gradient(center top , #00B7EA 0%, #009EC3 100%) repeat scroll 0 0 transparent;
  9. color: white;
  10. display: block;
  11. font: 17px/50px Helvetica,Verdana,sans-serif;
  12. height: 50px;
  13. text-align: center;
  14. text-decoration: none;
  15. text-transform: uppercase;
  16. width: 200px;
  17. position: relative;
  18. z-index: 2;
  19. /*TYPE*/
  20. color: white;
  21. font: 17px/50px Helvetica, Verdana, sans-serif;
  22. text-decoration: none;
  23. text-align: center;
  24. text-transform: uppercase;
  25. /*GRADIENT*/
  26. background: #00b7ea; /* Old browsers */
  27. background: -moz-linear-gradient(top, #00b7ea 0%, #009ec3 100%); /* FF3.6+ */
  28. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00b7ea), color-stop(100%,#009ec3)); /* Chrome,Safari4+ */
  29. background: -webkit-linear-gradient(top, #00b7ea 0%,#009ec3 100%); /* Chrome10+,Safari5.1+ */
  30. background: -o-linear-gradient(top, #00b7ea 0%,#009ec3 100%); /* Opera 11.10+ */
  31. background: -ms-linear-gradient(top, #00b7ea 0%,#009ec3 100%); /* IE10+ */
  32. background: linear-gradient(top, #00b7ea 0%,#009ec3 100%); /* W3C */
  33. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=&#39;#00b7ea&#39;, endColorstr=&#39;#009ec3&#39;,GradientType=0 ); /* IE6-9 */
  34. }
  35. .abt-button a, .abt-button p {
  36. -webkit-border-radius: 10px;
  37. -moz-border-radius: 10px;
  38. border-radius: 10px;
  39. -webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  40. -moz-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  41. box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  42. }
  43. .abt-button p {
  44. background: #222222;
  45. color: #FFFFFF;
  46. display: block;
  47. font: 12px/45px Helvetica,Verdana,sans-serif;
  48. height: 40px;
  49. margin: -40px 0 0 10px;
  50. position: absolute;
  51. text-align: center;
  52. transition: margin 0.5s ease 0s;
  53. width: 180px;
  54. z-index: 1;
  55. /*TRANSITION*/
  56. -webkit-transition: margin 0.5s ease;
  57. -moz-transition: margin 0.5s ease;
  58. -o-transition: margin 0.5s ease;
  59. -ms-transition: margin 0.5s ease;
  60. transition: margin 0.5s ease;
  61. }
  62. .abt-button:hover .up {
  63. margin: -5px 0 0 10px !important;
  64. }
  65. .abt-button:hover .down {
  66. line-height: 35px !important;
  67. margin: -85px 0 0 10px !important;
  68. }
  69. .abt-button a:active {
  70. background: #00b7ea; /* Old browsers */
  71. background: -moz-linear-gradient(top, #00b7ea 36%, #009ec3 100%); /* FF3.6+ */
  72. background: -webkit-gradient(linear, left top, left bottom, color-stop(36%,#00b7ea), color-stop(100%,#009ec3)); /* Chrome,Safari4+ */
  73. background: -webkit-linear-gradient(top, #00b7ea 36%,#009ec3 100%); /* Chrome10+,Safari5.1+ */
  74. background: -o-linear-gradient(top, #00b7ea 36%,#009ec3 100%); /* Opera 11.10+ */
  75. background: -ms-linear-gradient(top, #00b7ea 36%,#009ec3 100%); /* IE10+ */
  76. background: linear-gradient(top, #00b7ea 36%,#009ec3 100%); /* W3C */
  77. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=&#39;#00b7ea&#39;, endColorstr=&#39;#009ec3&#39;,GradientType=0 ); /* IE6-9 */
  78. }
  79. .abt-button:active .up {
  80. margin: -20px 0 0 10px !important;
  81. }
  82. .abt-button:active .down {
  83. margin: -70px 0 0 10px !important;
  84. }
  85. </style>
Advertisement
Add Comment
Please, Sign In to add comment