Advertisement
lowheartrate

custom FOLLOWER ALERT... so far

Nov 10th, 2019
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.01 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: 10s;
  33.   animation-name: hidden;
  34.   animation-duration: 10s;
  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. @-webkit-keyframes follower {
  81.   0% {height: 0; }
  82.   15% {height: 76px; }
  83.   85% {height: 76px; }
  84.   100% {height: 0; }
  85. }
  86. @keyframes follower {
  87.   0% {height: 0; }
  88.   15% {height: 76px; }
  89.   85% {height: 76px; }
  90.   100% {height: 0; }
  91. }
  92.  
  93. #alert-message {
  94.     text-align: left;
  95.     margin-top: 20px;
  96. }
  97.  
  98. #alert-user-message {
  99.   text-align: right;
  100. }
  101.  
  102. #alert-user-message img {
  103.     vertical-align: middle;
  104. }
  105.  
  106. #alert-image {
  107.     position: relative;
  108. }
  109.  
  110. #alert-image video {
  111.     width: 100%;
  112.     height: 100%;
  113.     position: absolute;
  114.     top: 0;
  115.     left: 0;
  116. }
  117.  
  118. #alert-message > span > span {
  119.     display: inline-block;
  120.     margin-top: -107px;
  121.     margin-left: 80px;
  122. }
  123.  
  124. #alert-image {
  125.     z-index: 6;
  126.     position: relative;
  127. }
  128.  
  129. #alert-text {
  130.   position: absolute;
  131. }
  132.  
  133. #alert-text-wrap {
  134.     z-index: 6;
  135.     position: relative;
  136. }
  137.  
  138. #just-followed {
  139.     z-index: 10;
  140.   position: relative;
  141.   top: -100px;
  142.   left: 590px;
  143.   text-align: left;
  144.   color: #d96363 !important;
  145.   font-weight: 400 !important;
  146.   font-size: 32px !important;
  147.   padding: 15px;
  148.   text-transform: lowercase;
  149.  
  150.   background-color: yellow;
  151.   border:1px solid transparent;
  152.   border-bottom-right-radius:8px;
  153.   border-bottom-left-radius:8px;
  154.  
  155.   /* display: none; */
  156.  
  157.   /* animation */
  158.   -webkit-animation-name: motion;
  159.   -webkit-animation-duration: 10s;
  160.   animation-name: motion;
  161.   animation-duration: 10s;
  162.   animation-iteration-count: 1;
  163.   animation-fill-mode: forwards;
  164. }
  165.  
  166. #follow {
  167.   z-index: 10;
  168.   position: relative;
  169.   top: -8px;
  170.   left: -370px;
  171.   font-size: 70px !important;
  172.   font-weight: 600;
  173.   color: #d96363 !important;
  174. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement