dollcrds

pro-plus cr akechigoros codes & music player

May 5th, 2024
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. ---CODES---
  2. <style>
  3. @font-face {
  4. font-family: cherish;
  5. src: url(https://dl.dropbox.com/s/lv6dfv1iamsw4ob/cherish.ttf);
  6. }
  7. @font-face {
  8. font-family: 'Magica';
  9. src: url(https://static.tumblr.com/p6yopnt/Qkiqnu0r5/theheart.ttf);
  10. }
  11. @font-face {
  12. src: url(https://dl.dropbox.com/s/1479f8x52y3z5u4/rainyhearts.ttf);
  13. font-family: hearts;
  14. }
  15. html {
  16. overflow: scroll;
  17. overflow-x: hidden;
  18. }
  19. ::-webkit-scrollbar {
  20. width: 0; /* remove scrollbar space */
  21. background: transparent; /* to make scrollbar invisible */
  22. }
  23. ::-webkit-scrollbar-thumb {
  24. background: transparent;
  25. }
  26.  
  27. </style>
  28.  
  29. ---MUSIC PLAYER---
  30. <head>
  31. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css" integrity="sha384-HzLeBuhoNPvSl5KYnjx0BT+WB0QEEqLprO+NBkkk5gbc67FTaL7XIGa2w1L0Xbgc" crossorigin="anonymous">
  32. </head>
  33.  
  34. <style>
  35. @font-face {
  36. src: url(https://dl.dropbox.com/s/1479f8x52y3z5u4/rainyhearts.ttf);
  37. font-family: hearts;
  38. }
  39. #musicplayer{
  40. display:grid;
  41. grid-template-columns:25px auto;
  42. align-items:center;
  43. width: 135px;
  44. font-size:15px;
  45. line-height: 140%;
  46. background:white;
  47. border: 1px solid black;
  48. border-radius: 5px 5px 5px 5px;
  49. }
  50. @media only screen and (max-width: 600px) {
  51. #musicplayer {
  52. width: 120px;
  53. }
  54. }
  55. #musictitle{
  56. overflow: hidden;
  57. width: calc(100% - 10px - 1px);
  58. margin-left: calc(10px + 1px);
  59. white-space: nowrap;
  60. display:inline-block;
  61. font-family: hearts;
  62. color: black;
  63. }
  64.  
  65. #musicpixel{
  66. width:100%;
  67. position:relative;
  68. left: 0px;
  69. min-height: 20px;
  70. border-right: 1px solid black;
  71. }
  72.  
  73. .overlay {
  74. opacity:0;
  75. position:absolute;
  76. top:0;
  77. left:0;
  78. text-align:center;
  79. width:100%;
  80. height:100%;
  81. transition:0.3s ease;
  82.  
  83. background:white;
  84. }
  85.  
  86. #musicpixel img{
  87. display:block;
  88. }
  89.  
  90. .marquee{
  91. display: inline-block;
  92. padding-left: 100%;
  93. animation: marquee 5s linear infinite;
  94. }
  95.  
  96. @keyframes marquee{
  97. 0% {
  98. transform: translate(0, 0);
  99. }
  100. 100% {
  101. transform: translate(-100%, 0);
  102. }
  103. }
  104.  
  105. </style>
  106.  
  107. <div id='musicplayer'>
  108. <div id='musicpixel'>
  109. <img src='https://i.imgur.com/kdc0tIY.gif'>
  110. <div class='overlay'>
  111. <div class='playpause'><i class="fas fa-play"></i></div>
  112. </div>
  113. </div>
  114. <div id='musictitle'>
  115. <span class='marquee'>I'll see you there tomorrow cr ramdons</span>
  116. </div>
  117. </div>
  118.  
  119. <audio id='musicsrc' loop src='https://dl.dropbox.com/scl/fi/2k057sh85w76p85ce48rp/01-I_ll-See-You-There-Tomorrow.mp3?rlkey=iq7rmm38nqj1eowvs7sn5uldv&st=xpspb0tt&dl=0.mp3'></audio>
  120.  
  121. <script>
  122. document.querySelector('.playpause').addEventListener('click', playpause);
  123.  
  124. function playpause(){
  125. if(document.querySelector('.playpause').innerHTML == '<i class="fas fa-play"></i>'){
  126. document.querySelector('#musicsrc').play();
  127. document.querySelector('.playpause').innerHTML = '<i class="fas fa-pause"></i>';
  128. } else{
  129. document.querySelector('#musicsrc').pause();
  130. document.querySelector('.playpause').innerHTML = '<i class="fas fa-play"></i>';
  131. }
  132.  
  133. }
  134. </script>
Advertisement
Add Comment
Please, Sign In to add comment