Advertisement
Urumasi

Loading.css

Nov 24th, 2015
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.82 KB | None | 0 0
  1. BODY
  2. {
  3.     background: #fff url( 'img/swag.jpg' );
  4.     -webkit-background-size: 100% 100%;
  5.     overflow: hidden;
  6. }
  7.  
  8. #container
  9. {
  10.     position: fixed;
  11.     text-align: center;
  12.     left: 50%;
  13.     top: 45%;
  14.     margin-top: -120px;
  15.     margin-left: -150px;
  16.     width: 300px;
  17. }
  18.  
  19. .progressbar
  20. {
  21.     margin: 0 auto;
  22.     width: 150px;
  23.     border-radius: 3px;
  24.     text-align: left;
  25.     padding: 1px;
  26.     background-color: rgba( 0, 0, 0, 0.6);
  27.     float: right;
  28. }
  29.  
  30. .reflection
  31. {
  32.     -webkit-box-reflect: below -1px -webkit-gradient(linear, left top, left bottom, from(transparent), from(rgba(0, 0, 0, 0.0)), to(rgba(255, 255, 255, 0.5)));
  33. }
  34.  
  35. .progressbar .inner
  36. {
  37.     border-radius: 2px;
  38.     background-color: rgba( 0, 240, 0, 1.0);
  39.     width: 0.2%;
  40.     height: 11px;
  41. }
  42.  
  43. #progress_text
  44. {
  45.     position: absolute;
  46.     width: 500px;
  47.     right: 170px;
  48.     bottom: 0px;
  49.     margin: 0 auto;
  50.     text-align: right;
  51.     font-size: 12px;
  52.     font-family: helvetica;
  53.     color: rgba( 0, 0, 0, 0.4);
  54.     letter-spacing: -1px;
  55.     text-shadow: 0px 0px 3px white;
  56.     overflow: hidden;
  57.     white-space: nowrap;
  58. }
  59.  
  60.  
  61. @-webkit-keyframes walk
  62. {
  63.     0%
  64.     {
  65.         -webkit-transform: rotateZ(0deg);
  66.     }
  67.        
  68.     50%
  69.     {
  70.         -webkit-transform: rotateZ(180deg);
  71.     }
  72.    
  73.     100%
  74.     {
  75.         -webkit-transform: rotateZ(360deg);
  76.     }
  77. }
  78.  
  79.  
  80. .walk
  81. {
  82.     -webkit-animation-name: walk;
  83.     -webkit-animation-duration: 1s;
  84.     -webkit-animation-iteration-count: infinite;
  85.     -webkit-animation-timing-function: linear;
  86.     -webkit-perspective: 6000px;
  87.     text-align: center;
  88.     background-color: #0f0;
  89.     width: 48px;
  90.     height: 24px;
  91.     color: #f0f;
  92.     font-size: 16px;
  93.     font-family: arial;
  94.     font-weight: bold;
  95.     border-radius: 3px;
  96.     display: inline-block;
  97.     border: 2px solid #f0f;
  98. }
  99.  
  100. .bounce
  101. {
  102.     -webkit-transform: rotate(180deg);
  103.     -moz-transform: rotate(180deg);
  104.     -ms-transform: rotate(180deg);
  105.     -o-transform: rotate(180deg);
  106.     transform: rotate(180deg);
  107. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement