Advertisement
dollcrds

newjeans crditem carrd main code

Mar 3rd, 2024
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. <link rel="preconnect" href="https://fonts.googleapis.com">
  2. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  3. <link href="https://fonts.googleapis.com/css2?family=Mali:wght@400;600&display=swap" rel="stylesheet">
  4.  
  5. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  6.  
  7. <!-------MUSIC PLAYER BY GLENTHEMES------->
  8. <script src="//static.tumblr.com/gtjt4bo/QRmphdsdv/glenplayer02.js"></script>
  9.  
  10. <style>
  11.  
  12. html {
  13. height: 100vh;
  14. width: 100vw;
  15. font-size: 16px;
  16. position: fixed;
  17. display: flex;
  18. align-items: center;
  19. justify-content: center;
  20. }
  21.  
  22. * {
  23. padding: 0;
  24. margin: 0;
  25. box-sizing: border-box;
  26. }
  27.  
  28. /* music player !!!!*/
  29.  
  30. #glenplayer02 {
  31. position: absolute;
  32. bottom: 10px;
  33. left: 10px;
  34. display:flex;
  35. z-index:200;
  36.  
  37. }
  38. #glenplayer02 a {text-decoration:none;}
  39.  
  40. #glenplayer02 > div {
  41. align-self:center;
  42. -webkit-align-self:center;
  43. }
  44.  
  45. .music-controls {
  46. user-select:none;
  47. -webkit-user-select:none;
  48. width:25px;
  49. font-size:25px;
  50.  
  51. cursor:pointer;
  52. }
  53.  
  54. .playy, .pausee {
  55. transition: 2.3s;
  56. color: #fff;
  57. -webkit-text-stroke: 0.5px black;
  58. text-stroke: 0.5px black;
  59. filter: drop-shadow(1px 1px 0 #383838) drop-shadow(-1px 1px 0 #383838) drop-shadow(0 2px 0 #383838) drop-shadow(0 -1px 0 #383838) ;
  60.  
  61. opacity: 0;
  62.  
  63. } /* color of play & pause buttons */
  64.  
  65. .pausee {display:none;}
  66.  
  67. .sonata {
  68. margin-left:10px;
  69. color:#222; /* color of music note symbol */
  70. }
  71.  
  72. .labeltext {
  73. margin-left:8px;
  74. font-family:courier new;
  75. font-size:9px;
  76. color:#222; /* color of song title */
  77. }
  78.  
  79. /* end music player !!! */
  80.  
  81. @font-face {
  82. font-family: lovesong;
  83. src: url(https://dl.dropbox.com/s/gxv6scjl5kdbhlj/MfLoveSong.ttf);
  84. }
  85.  
  86. @font-face {
  87. font-family: cerl;
  88. src: url(https://dl.dropbox.com/s/vaz4fe5yzk1uiku/CHERL___.TTF);
  89. }
  90.  
  91. #cont {
  92. width: 18em;
  93. height: 350px;
  94. border-radius: 12px;
  95. overflow: hidden;
  96. position: relative;
  97. left: 2em;
  98. bottom: -1em;
  99. box-shadow: rgba(0, 0, 0, 0.8) 0 0 0.425em 0.25em, rgba(0, 0, 0, 0.85) 0 0 0.375em inset;
  100. background: linear-gradient( to top, #color, #ffffff, #color);
  101.  
  102. }
  103.  
  104. .inside {
  105. transition: 1.3s;
  106. position: relative;
  107. width: auto;
  108. height: 100%;
  109. left: -19%;
  110. filter: drop-shadow(1px 1px 0 #383838) drop-shadow(-1px 1px 0 #383838) drop-shadow(0 2px 0 #383838) drop-shadow(0 -1px 0 #383838) ;
  111. }
  112.  
  113. #name {
  114. opacity: 0.7;
  115. color: white;
  116. font-family: cerl;
  117. text-shadow: 0 0 1px black, 0 0 2px black, 0 0 3px black, 0 0 10px black;
  118. position: absolute;
  119. top: 12%;
  120. font-size: 3.12em;
  121. right: 7%;
  122. -webkit-animation: pop 1s ease-in-out infinite alternate;
  123. animation: pop 1s ease-in-out infinite alternate;
  124. -moz-animation: pop 1s ease-in-out infinite alternate;
  125. }
  126.  
  127. @keyframes pop {
  128. from {
  129. transform:scale(0.95)
  130. }
  131.  
  132. 50% {
  133. transform:scale(1)
  134. }
  135.  
  136. to {
  137. transform:scale(0.95)
  138. }
  139. }
  140.  
  141. @-webkit-keyframes pop {
  142. from {
  143. -webkit-transform:scale(0.95)
  144.  
  145. }
  146.  
  147. 50% {
  148. -webkit-transform:scale(1)
  149.  
  150. }
  151.  
  152. to {
  153. -webkit-transform:scale(0.95)
  154.  
  155. }
  156. }
  157.  
  158. #cont:hover .inside{
  159. left:-45%;
  160. }
  161.  
  162. #cont:hover #scroll {
  163. right: 5%;
  164. }
  165.  
  166. #cont:hover {
  167. animation: blur 2s ease-in-out alternate;
  168.  
  169. }
  170. @keyframes
  171. blur {
  172. from { webkit-filter: blur(2px);
  173. filter: blur(2px);
  174. }
  175. }
  176.  
  177. #cont:hover .playy , .pausee {
  178. opacity: 1;
  179.  
  180. }
  181.  
  182. #scroll {
  183. transition: 2s;
  184. width: 62%;
  185. height: 210px;
  186. position: absolute;
  187. z-index: 99;
  188. font-family: 'Mali', cursive;
  189. background: #FFFFFF9C;
  190. border: 1px solid white;
  191. top: 30%;
  192. right: -70%;
  193. font-size: 13px;
  194. padding: 7px;
  195. border-radius: 9px;
  196. text-align: center;
  197. overflow: scroll;
  198. }
  199.  
  200. mark {
  201. background: linear-gradient( to top, #color, #ffffff, #color);
  202. border-radius: 6px;
  203. border: 1px solid #383838;
  204. padding-left: 3px;
  205. padding-right: 3px;
  206. }
  207.  
  208. </style>
  209.  
  210. <div id="cont">
  211.  
  212. <img class=inside src="image link">
  213. <div id="name"> Name </div>
  214.  
  215. <div id="scroll"> <mark>info </mark> <br></br> info info info <br></br>
  216.  
  217. <strong><mark>before u follow</mark></strong> info info info info info
  218. <br></br>
  219.  
  220. <strong><mark>do not follow if</mark></strong> info info info info info
  221. <br></br>
  222.  
  223. <strong><em>kpop</em></strong> info info info info info info info <br></br>
  224.  
  225. <strong><em>text goes here</em></strong> info info info info info info info
  226. </div>
  227.  
  228. <div id="glenplayer02">
  229. <div class="music-controls" onclick="songstart();">
  230. <div class="playy">►</div>
  231. <div class="pausee">❚❚</div>
  232. </div>
  233. <div class="sonata"> </div>
  234. <div class="labeltext"></div>
  235. </div><!--end music player-->
  236.  
  237. <audio id="tune" src="song link"audio"></audio>
  238. </body>
  239.  
  240. <div class="labeltext"> </div>
  241.  
  242. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement