Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.33 KB | None | 0 0
  1. @import url("https://fonts.googleapis.com/css?family=Syncopate");
  2.  
  3. html, body {
  4.   -webkit-font-smoothing: antialiased;
  5.   font-family: 'Syncopate', Helvetica, Arial;
  6.     text-transform: uppercase;
  7.     margin: 0;
  8.     height: 100%;
  9.     width: 100%;
  10.     display: table;
  11. }
  12. html {
  13.   /* subtlepatterns.com */
  14.     background: url("http://neilcarpenter.com/demos/asfalt.png") repeat;
  15. }
  16. body {
  17.     overflow: hidden;  
  18.     background: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%, rgba(0,0,0,0.44) 100%); /* FF3.6+ */
  19.     background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.44))); /* Chrome,Safari4+ */
  20.     background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%,rgba(0,0,0,0.44) 100%); /* Chrome10+,Safari5.1+ */
  21.     background: -o-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%,rgba(0,0,0,0.44) 100%); /* Opera 12+ */
  22.     background: -ms-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%,rgba(0,0,0,0.44) 100%); /* IE10+ */
  23.     background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%,rgba(0,0,0,0.44) 100%); /* W3C */
  24. }
  25. p {
  26.     display: table-cell;
  27.     text-align: center;
  28.     vertical-align: middle;
  29.     font-size: 2em;
  30.     line-height: 2em;
  31. }
  32. i {
  33.     display: inline-block;
  34.     font-style: normal;
  35.     padding: 0 0.25em;
  36.     -webkit-transform: scale(0) translate3d(0, -2000px, 0);
  37.        -moz-transform: scale(0) translate3d(0, -2000px, 0);
  38.         -ms-transform: scale(0) translate3d(0, -2000px, 0);
  39.          -o-transform: scale(0) translate3d(0, -2000px, 0);
  40.             transform: scale(0) translate3d(0, -2000px, 0);
  41.     background: rgba(255, 255, 255, 0.3);
  42.     border-radius: 50%;
  43. }
  44. i.fly-in-out {
  45.     -webkit-animation: fly-in-out 3s infinite ease-in-out;
  46.        -moz-animation: fly-in-out 3s infinite ease-in-out;
  47.          -o-animation: fly-in-out 3s infinite ease-in-out;
  48.             animation: fly-in-out 3s infinite ease-in-out;
  49. }
  50.  
  51. @-webkit-keyframes fly-in-out {
  52.     0% {
  53.         -webkit-transform: scale(0) translate3d(0, -1000px, 0);
  54.         background: rgba(255, 255, 255, 0.3);
  55.         box-shadow: 0 0 100px 100px rgba(255, 255, 255, 0.2);
  56.         border-radius: 50%;
  57.     }
  58.     15%, 85% {
  59.         color: rgba(255, 255, 255, 0.8);
  60.         text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  61.         -webkit-transform: scale(1) translate3d(0, 0, 0);
  62.         background: transparent;
  63.         box-shadow: none;
  64.     }
  65.     100% {
  66.         color: transparent;
  67.         -webkit-transform: scale(0) translate3d(0, 1000px, 0);
  68.         background: rgba(255, 255, 255, 0.3);
  69.         box-shadow: 0 0 100px 100px rgba(255, 255, 255, 0.2);
  70.         border-radius: 50%;
  71.     }
  72. }
  73. @-moz-keyframes fly-in-out {
  74.     0% {
  75.         -moz-transform: scale(0) translate3d(0, -2000px, 0);
  76.         background: rgba(255, 255, 255, 0.3);
  77.         box-shadow: 0 0 100px 100px rgba(255, 255, 255, 0.2);
  78.         border-radius: 50%;
  79.     }
  80.     15%, 85% {
  81.         color: rgba(255, 255, 255, 0.8);
  82.         text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  83.         -moz-transform: scale(1) translate3d(0, 0, 0);
  84.         background: transparent;
  85.         box-shadow: none;
  86.     }
  87.     100% {
  88.         color: transparent;
  89.         -moz-transform: scale(0) translate3d(0, 2000px, 0);
  90.         background: rgba(255, 255, 255, 0.3);
  91.         box-shadow: 0 0 100px 100px rgba(255, 255, 255, 0.2);
  92.         border-radius: 50%;
  93.     }
  94. }
  95. @-o-keyframes fly-in-out {
  96.     0% {
  97.         -o-transform: scale(0) translate3d(0, -2000px, 0);
  98.         background: rgba(255, 255, 255, 0.3);
  99.         box-shadow: 0 0 100px 100px rgba(255, 255, 255, 0.2);
  100.         border-radius: 50%;
  101.     }
  102.     15%, 85% {
  103.         color: rgba(255, 255, 255, 0.8);
  104.         text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  105.         -o-transform: scale(1) translate3d(0, 0, 0);
  106.         background: transparent;
  107.         box-shadow: none;
  108.     }
  109.     100% {
  110.         color: transparent;
  111.         -o-transform: scale(0) translate3d(0, 2000px, 0);
  112.         background: rgba(255, 255, 255, 0.3);
  113.         box-shadow: 0 0 100px 100px rgba(255, 255, 255, 0.2);
  114.         border-radius: 50%;
  115.     }
  116. }
  117. @keyframes fly-in-out {
  118.     0% {
  119.         transform: scale(0) translate3d(0, -2000px, 0);
  120.         background: rgba(255, 255, 255, 0.3);
  121.         box-shadow: 0 0 100px 100px rgba(255, 255, 255, 0.2);
  122.         border-radius: 50%;
  123.     }
  124.     15%, 85% {
  125.         color: rgba(255, 255, 255, 0.8);
  126.         text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  127.         transform: scale(1) translate3d(0, 0, 0);
  128.         background: transparent;
  129.         box-shadow: none;
  130.     }
  131.     100% {
  132.         color: transparent;
  133.         transform: scale(0) translate3d(0, 2000px, 0);
  134.         background: rgba(255, 255, 255, 0.3);
  135.         box-shadow: 0 0 100px 100px rgba(255, 255, 255, 0.2);
  136.         border-radius: 50%;
  137.     }
  138. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement