Advertisement
lowheartrate

complete? custom follower alert css!!!!

Nov 10th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.65 KB | None | 0 0
  1. .widget-AlertBox {
  2.     position: relative;
  3. }
  4. body,
  5. html {
  6.  
  7.     height: 100%;
  8.     width: 100%;
  9.     overflow: hidden;
  10.  
  11.     text-transform: uppercase;
  12.     font-family: 'Roboto', sans-serif;
  13. }
  14.  
  15. #wrap {
  16.     position: relative;
  17.     height: 100%;
  18.     width: 100%;
  19. }
  20.  
  21. #alert-box {
  22.     height: 100%;
  23.     width: 100%;
  24.     position: absolute;
  25. }
  26.  
  27. #alert-box.hidden,
  28. .hidden {
  29.   opacity: 0;
  30.  
  31.   -webkit-animation-name: hidden;
  32.   -webkit-animation-duration: 9s;
  33.   animation-name: hidden;
  34.   animation-duration: 9s;
  35.   animation-iteration-count: 1;
  36.   animation-fill-mode: forwards;
  37. }
  38. @-webkit-keyframes hidden {
  39.   0% {opacity: 0;}
  40.   10% {opacity: 0;}
  41.   20% {opacity: 1;}
  42.   80% {opacity: 1;}
  43.   90% {opacity: 0;}
  44.   100% {opacity: 0;}
  45. }
  46. @keyframes hidden {
  47.   0% {opacity; 0;}
  48.   10% {opacity: 0;}
  49.   20% {opacity: 1;}
  50.   80% {opacity: 1;}
  51.   90% {opacity: 0;}
  52.   100% {opacity: 0;}
  53. }
  54.  
  55. #alert-text {
  56.     /*
  57.   display: none;
  58.   margin: 0;
  59.   padding: 0;
  60.  
  61.   animation-iteration-count: 1;
  62.   animation-fill-mode: backwards;
  63.  
  64.   */
  65.  
  66.   /* hide the name until the animation starts */
  67.   display: none;
  68.  
  69.   text-align: left;
  70.   background-color: #FFFFFF;
  71.  
  72.   /* animation */
  73.     -webkit-animation-name: follower;
  74.   -webkit-animation-duration: 9s;
  75.   animation-name: follower;
  76.   animation-duration: 9s;
  77.   animation-iteration-count: 1;
  78.   animation-fill-mode: forwards;
  79.  
  80. }
  81. @-webkit-keyframes follower {
  82.   0% {height: 0; box-shadow: 0; }
  83.   15% {height: 76px; box-shadow: 10px -11px 9px 10px rgba(0,0,0,0.65); }
  84.   85% {height: 76px; box-shadow: 10px -11px 9px 10px rgba(0,0,0,0.65); }
  85.   100% {height: 0; box-shadow: 0; }
  86. }
  87. @keyframes follower {
  88.   0% {height: 0; box-shadow: 0; }
  89.   15% {height: 76px; box-shadow: 10px -11px 9px 10px rgba(0,0,0,0.65); }
  90.   85% {height: 76px; box-shadow: 10px -11px 9px 10px rgba(0,0,0,0.65); }
  91.   100% {height: 0; box-shadow: 0; }
  92. }
  93.  
  94. #alert-message {
  95.     text-align: left;
  96.     margin-top: 20px;
  97. }
  98.  
  99. #alert-user-message {
  100.   text-align: right;
  101. }
  102.  
  103. #alert-user-message img {
  104.     vertical-align: middle;
  105. }
  106.  
  107. #alert-image {
  108.     position: relative;
  109. }
  110.  
  111. #alert-image video {
  112.     width: 100%;
  113.     height: 100%;
  114.     position: absolute;
  115.     top: 0;
  116.     left: 0;
  117. }
  118.  
  119. #alert-message > span > span {
  120.     display: inline-block;
  121.     margin-top: -107px;
  122.     margin-left: 80px;
  123. }
  124.  
  125. #alert-image {
  126.     z-index: 6;
  127.     position: relative;
  128. }
  129.  
  130. #alert-text {
  131.   position: absolute;
  132. }
  133.  
  134. #alert-text-wrap {
  135.     z-index: 6;
  136.     position: relative;
  137. }
  138.  
  139. #just-followed {
  140.     z-index: -999;
  141.   position: relative;
  142.   top: -100px;
  143.   left: 595px;
  144.   text-align: left;
  145.   color: #d96363 !important;
  146.   font-weight: 400 !important;
  147.   font-size: 32px !important;
  148.   padding: 15px;
  149.   text-transform: lowercase;
  150.   opacity: 0;
  151.  
  152.   box-shadow: 5px 10px 12px 4px rgba(0,0,0,0.65);
  153.  
  154.   /* hide by default */
  155.   /*display: none;*/
  156.  
  157.   /* animation */
  158.   -webkit-animation-name: motion;
  159.   -webkit-animation-duration: 10s;
  160.   -webkit-animation-delay: 1.5s;
  161.   animation-name: motion;
  162.   animation-duration: 9s;
  163.   animation-delay: 1.5s;
  164.   animation-iteration-count: 1;
  165.   animation-fill-mode: forwards;
  166. }
  167. @-webkit-keyframes motion {
  168.   0% {top: -100px; opacity: 0; background-color: transparent; }
  169.   10% {opacity: 1; }
  170.   15% {top: -30px; background-color: white; }
  171.   60% {top:-30px; }
  172.   65% {top: -100px;}
  173.   65% {opacity: 1;}
  174.   70% {opacity: 0;}
  175.   90% {opacity: 0;}
  176.   95% {opacity: 0; background-color: white; }
  177.   100% {top: -100px; background-color: transparent; }
  178. }
  179.  
  180. #follow {
  181.   z-index: 10;
  182.   position: relative;
  183.   top: -8px;
  184.   left: -370px;
  185.   font-size: 70px !important;
  186.   font-weight: 600;
  187.   color: #d96363 !important;
  188. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement