Advertisement
shrx

payhana

Jun 17th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.32 KB | None | 0 0
  1. <style type="text/css">
  2.  
  3. @import "https://fonts.googleapis.com/css?family=Open+Sans:300,400";
  4. body,
  5. .badgescard,
  6. .firstinfo {
  7.     display: flex;
  8.     justify-content: center;
  9.     align-items: center;
  10. }
  11.  
  12.  
  13.  
  14.  
  15.  
  16. .content {
  17.     position: relative;
  18.     animation: animatop 0.9s cubic-bezier(0.425, 1.14, 0.47, 1.125) forwards;
  19. }
  20.  
  21. .card {
  22.     width: 99%;
  23.     padding: 20px;
  24.     border-radius: 3px;
  25.     background-color: white;
  26.     box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  27.     position: relative;
  28.     overflow: hidden;
  29. }
  30.  
  31. .card:after {
  32.     content: '';
  33.     display: block;
  34.     width: 190px;
  35.     height: 300px;
  36.     background: cadetblue;
  37.     position: absolute;
  38.     animation: rotatemagic 0.75s cubic-bezier(0.425, 1.04, 0.47, 1.105) 1s both;
  39. }
  40.  
  41. .badgescard {
  42.     padding: 10px 20px;
  43.     border-radius: 3px;
  44.     background-color: #00bcd4;
  45.     color:#fff;
  46.     width: 99%;
  47.     box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  48.     position: absolute;
  49.     z-index: -1;
  50.     left: 10px;
  51.     bottom: 10px;
  52.     animation: animainfos 0.5s cubic-bezier(0.425, 1.04, 0.47, 1.105) 0.75s forwards;
  53. }
  54.  
  55. .badgescard span {
  56.     font-size: 1.6em;
  57.     margin: 0px 6px;
  58.     opacity: 0.6;
  59. }
  60.  
  61. .firstinfo {
  62.     flex-direction: row;
  63.     z-index: 2;
  64.     position: relative;
  65. }
  66.  
  67. #myimg {
  68.     border-radius: 50%;
  69.     width: 120px;
  70.     height: 120px;
  71. }
  72.  
  73. .firstinfo .profileinfo {
  74.     padding: 0px 20px;
  75. }
  76.  
  77. .firstinfo .profileinfo h1 {
  78.     font-size: 1.8em;
  79. }
  80.  
  81. .firstinfo .profileinfo h3 {
  82.     font-size: 7.2em;
  83.     color: #00bcd4;
  84.     font-style: italic;
  85.     text-align: center;
  86.  
  87. }
  88.  
  89. .firstinfo .profileinfo p.bio {
  90.     padding: 10px 0px;
  91.     color: #5A5A5A;
  92.     line-height: 1.2;
  93.     font-style: initial;
  94. }
  95.  
  96. @keyframes animatop {
  97.     0% {
  98.         opacity: 0;
  99.         bottom: -500px;
  100.     }
  101.     100% {
  102.         opacity: 1;
  103.         bottom: 0px;
  104.     }
  105. }
  106.  
  107. @keyframes animainfos {
  108.     0% {
  109.         bottom: 10px;
  110.     }
  111.     100% {
  112.         bottom: -42px;
  113.     }
  114. }
  115.  
  116. @keyframes rotatemagic {
  117.     0% {
  118.         opacity: 0;
  119.         transform: rotate(0deg);
  120.         top: -24px;
  121.         left: -253px;
  122.     }
  123.     100% {
  124.         transform: rotate(-30deg);
  125.         top: -24px;
  126.         left: -78px;
  127.     }
  128. }
  129.  
  130. </style>
  131.  
  132.  
  133.  
  134. <link href="https://takween.art/mb_lib/css/font-awesome.min.css" rel="stylesheet">
  135. <div id="mbcontent" class="content">
  136.     <div class="card">
  137.         <div class="firstinfo"><img id="myimg" src="https://i.pinimg.com/originals/ed/b0/42/edb0427a877b31f440b38e0ac175d131.gif" />
  138.             <div class="profileinfo">
  139.                 <h1>Be generous</h1>
  140.                 <h3>Be generous and donate to me even if it is one dollar</h3>
  141.  
  142.                 <!-- p class="bio">Lived all my life on the top of mount Fuji, learning the way to be a Ninja Dev.</p -->
  143.             </div>
  144.  
  145.         </div>
  146.  
  147. <p>
  148.    
  149.     <a class="acs-donate-btn" target="_blank" href="https://www.paypal.me/acharitys/1000"><img src="https://takween.art/donate.en.png"></a> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;
  150.  
  151.  
  152. <img src="https://takween.art/close.png" onclick="mbclose();" width="5%">
  153.  
  154. </p>
  155.  
  156.  
  157.  
  158.     </div>
  159.  
  160. </div>
  161. <script>
  162. function mbclose(){
  163.     document.getElementById('mbcontent').setAttribute("style", "display:none");
  164. }
  165.  
  166.  
  167. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement