Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. body {
  2. background: blue
  3. }
  4.  
  5. .progressbar {
  6. position: absolute;
  7. height: 30px;
  8. width: 40%;
  9.  
  10. border-radius: 20px;
  11. }
  12.  
  13. .progressbar.pasive {
  14. z-index: 1;
  15.  
  16. background-color: #f0a3a3;
  17. background-image: -webkit-linear-gradient(transparent, #f42323);
  18. }
  19. .progressbar.pasive::after {
  20. content: "";
  21. position: absolute;
  22. top: 0;
  23. left: 0;
  24. bottom: 0;
  25. right: 0;
  26. background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.05, rgba(255, 255, 255, .2)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .2)), color-stop(.75, rgba(255, 255, 255, .2)), color-stop(.75, transparent), to(transparent) );
  27. background-image: -moz-linear-gradient( -45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent );
  28. z-index: 1;
  29. -webkit-background-size: 50px 50px;
  30. -moz-background-size: 50px 50px;
  31. background-size: 50px 50px;
  32. -webkit-animation: move 2s linear infinite;
  33. -moz-animation: move 2s linear infinite;
  34. -webkit-border-top-right-radius: 8px;
  35. -webkit-border-bottom-right-radius: 8px;
  36. -moz-border-radius-topright: 8px;
  37. -moz-border-radius-bottomright: 8px;
  38. border-top-right-radius: 8px;
  39. border-bottom-right-radius: 8px;
  40. -webkit-border-top-left-radius: 20px;
  41. -webkit-border-bottom-left-radius: 20px;
  42. -moz-border-radius-topleft: 20px;
  43. -moz-border-radius-bottomleft: 20px;
  44. border-top-left-radius: 20px;
  45. }
  46.  
  47. .progressbar.active {
  48. z-index: 4;
  49. background: red;
  50. width: 20%
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement