Advertisement
RyanJEarnshaw

Untitled

Oct 11th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 KB | None | 0 0
  1. @import 'https://fonts.googleapis.com/css?family=Raleway:100,200,300,400';
  2. @import url(http://fonts.googleapis.com/css?family=Roboto);
  3.  
  4. * {
  5. margin:0;
  6. padding:0;
  7. }
  8.  
  9. html, body {
  10. font-family: 'Raleway', sans-serif;
  11. margin:0;
  12. padding:0;
  13. height:auto;
  14. background-color: rgba(255,255,255,1);
  15. }
  16.  
  17. .container {
  18. min-height:100%;
  19. position:relative;
  20. background-color: rgba(255,255,255,1);
  21. }
  22. .title {
  23. font-family: 'roboto', sans-serif;
  24. text-align: center;
  25. color: rgba(1,1,1,0.2);
  26. margin: 4% 0;
  27. }
  28. .title h1 { font-size: 5vmax; }
  29. .title h2 { font-size: 2.5vmax; }
  30.  
  31.  
  32. /*CONFIRMATION TEXT DROP IN ANIMATION*/
  33. h3, p{
  34. font-family: 'roboto', sans-serif;
  35. font-size: 23px;
  36. color: rgba(26,188,156,1);
  37. width: auto;
  38. height: 40px;
  39. margin: 10px;
  40. -moz-animation-name: dropText;
  41. -moz-animation-iteration-count: 1;
  42. -moz-animation-timing-function: ease-out;
  43. -moz-animation-duration: 0.6s;
  44.  
  45. -webkit-animation-name: dropText;
  46. -webkit-animation-iteration-count: 1;
  47. -webkit-animation-timing-function: ease-out;
  48. -webkit-animation-duration: 0.6s;
  49.  
  50. animation-name: dropText;
  51. animation-iteration-count: 1;
  52. animation-timing-function: ease-out;
  53. animation-duration: 0.6s;
  54. }
  55. p {
  56. font-family: 'roboto', sans-serif;
  57. font-size: 19px;
  58. }
  59. @-moz-keyframes dropText {
  60. 0% {
  61. color: rgba(26,188,156,0);
  62. -moz-transform: translateY(-500px);
  63. }
  64. 100% {
  65. color: rgba(26,188,156,1);
  66. -moz-transform: translateY(0);
  67. }
  68. }
  69. @-webkit-keyframes dropText {
  70. 0% {
  71. color: rgba(26,188,156,0);
  72. -webkit-transform: translateY(-500px);
  73. }
  74. 100% {
  75. color: rgba(26,188,156,1);
  76. -webkit-transform: translateY(0);
  77. }
  78. }
  79. @keyframes dropText {
  80. 0% {
  81. color: rgba(26,188,156,0);
  82. transform: translateY(-500px);
  83. }
  84. 100% {
  85. color: rgba(26,188,156,1);
  86. transform: translateY(0);
  87. }
  88. }
  89. .herebutton {
  90. font-family: 'Roboto';
  91. text-decoration: none;
  92. cursor: pointer;
  93. text-decoration: none;
  94. color: SALMON;
  95. padding: 0 5px;
  96. border: 3px solid SALMON;
  97. }
  98.  
  99. .content {
  100. text-align: center;
  101. }
  102. .button {
  103. font-family: 'Roboto';
  104. text-decoration: none;
  105. margin: 10px;
  106. padding: 1em;
  107. width: 17%;
  108. cursor: pointer;
  109. background: white;
  110. text-decoration: none;
  111. color: SALMON;
  112. border: 3px solid SALMON;
  113.  
  114. display: inline-block;
  115. vertical-align: middle;
  116. -webkit-transform: translateZ(0);
  117. transform: translateZ(0);
  118. box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  119. -webkit-backface-visibility: hidden;
  120. backface-visibility: hidden;
  121. -moz-osx-font-smoothing: grayscale;
  122. position: relative;
  123. -webkit-transition-property: color;
  124. transition-property: color;
  125. -webkit-transition-duration: 0.5s;
  126. transition-duration: 0.5s;
  127. }
  128. .button:before {
  129. content: "";
  130. position: absolute;
  131. z-index: -1;
  132. top: 0;
  133. left: 0;
  134. right: 0;
  135. bottom: 0;
  136. background: SALMON;
  137. -webkit-transform: scaleY(0);
  138. transform: scaleY(0);
  139. -webkit-transform-origin: 50% 0;
  140. transform-origin: 50% 0;
  141. -webkit-transition-property: transform;
  142. transition-property: transform;
  143. -webkit-transition-duration: 0.5s;
  144. transition-duration: 0.5s;
  145. -webkit-transition-timing-function: ease-out;
  146. transition-timing-function: ease-out;
  147. }
  148. .button:hover, .button:focus, .button:active {
  149. color: WHITE;
  150. }
  151. .button:hover:before, .button:focus:before, .button:active:before {
  152. -webkit-transform: scaleY(1);
  153. transform: scaleY(1);
  154. -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  155. transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  156. }
  157.  
  158.  
  159. input {
  160. font-size: 13px;
  161. margin: 40px;
  162. width: 20%;
  163. display: block;
  164. border: none;
  165. padding: 10px 0;
  166. border-bottom: solid 2px #1abc9c;
  167. -webkit-transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  168. transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  169. background: none;
  170. color: SALMON;
  171. vertical-align: center;
  172. margin-left: auto;
  173. margin-right: auto;
  174. }
  175. input:focus, input:valid {
  176. box-shadow: none;
  177. outline: none;
  178. background-position: 0 0;
  179. }
  180. input::-webkit-input-placeholder {
  181. font-family: 'roboto', sans-serif;
  182. -webkit-transition: all 0.3s ease-in-out;
  183. transition: all 0.3s ease-in-out;
  184. }
  185. input:focus::-webkit-input-placeholder, input:valid::-webkit-input-placeholder {
  186. color: #1abc9c;
  187. font-size: 13px;
  188. -webkit-transform: translateY(-20px);
  189. transform: translateY(-20px);
  190. visibility: visible !important;
  191. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement