dollcrds

neocities tutorial #1 css

May 11th, 2025 (edited)
5,190
2
Never
7
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 KB | None | 2 0
  1. // animation
  2. /* ----------------------------------------------
  3. * Generated by Animista on 2025-5-9 16:44:12
  4. * Licensed under FreeBSD License.
  5. * See http://animista.net/license for more info.
  6. * w: http://animista.net, t: @cssanimista
  7. * ---------------------------------------------- */
  8.  
  9. /**
  10. * ----------------------------------------
  11. * animation slide-in-bottom
  12. * ----------------------------------------
  13. */
  14.  
  15. @-webkit-keyframes slide-in-bottom {
  16. 0% {
  17. -webkit-transform: translateY(1000px);
  18. transform: translateY(1000px);
  19. opacity: 0;
  20. }
  21. 100% {
  22. -webkit-transform: translateY(0);
  23. transform: translateY(0);
  24. opacity: 1;
  25. }
  26. }
  27. @keyframes slide-in-bottom {
  28. 0% {
  29. -webkit-transform: translateY(1000px);
  30. transform: translateY(1000px);
  31. opacity: 0;
  32. }
  33. 100% {
  34. -webkit-transform: translateY(0);
  35. transform: translateY(0);
  36. opacity: 1;
  37. }
  38. }
  39.  
  40. // fonts
  41. @font-face {
  42. src: url(https://dl.dropbox.com/s/uougf9v63jmphoj/Jojoba.otf);
  43. font-family: jojoba;
  44. }
  45. @font-face {
  46. font-family: kinkie;
  47. src: url(https://dl.dropbox.com/s/b2jkn3py4agc9nn/kinkie.regular.ttf);
  48. }
  49. @font-face {
  50. src: url(https://dl.dropbox.com/s/gavkuhehligvhz8/PsycheLover-Regular.otf);
  51. font-family: psyche;
  52. }
  53.  
  54. // main container
  55. border: 1px solid white;
  56. background-image: url('IMG LINK HERE');
  57. background-attachment: fixed;
  58. background-repeat: repeat;
  59. margin: auto;
  60. margin-top: 120px;
  61. width: 600px;
  62. height: 450px;
  63. position: relative;
  64. padding: 5px;
  65. z-index: 4;
  66. box-shadow: 0rem -0rem 0.5rem 0.5rem #FFFFFF;
  67.  
  68. // section containers
  69. font-family: jojoba;
  70. color: black;
  71. font-size: 1em;
  72. background: white;
  73. border: 3px solid #color;
  74. padding: 5px;
  75. width: 330px;
  76. height: 250px;
  77. overflow-y: scroll;
  78. -webkit-animation: slide-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  79. animation: slide-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  80.  
  81. // positioning for container of buttons
  82. position: absolute;
  83. top: 10em;
  84. left: 21.875em;
  85. height: 200px;
  86. width: 100px;
  87. z-index: 5;
  88.  
  89. // style of buttons
  90. border-right: 3px solid color;
  91. border-top: 3px solid color;
  92. border-bottom: 3px solid color;
  93. border-radius: 0px 10px 10px 0px;
  94. border-left: none;
  95. padding: 3px;
  96. background: white;
  97. height: 50px;
  98. width: 50px;
  99.  
  100. // marquee container positioning
  101. width: 560px;
  102. height: 50px;
  103. position: absolute;
  104. top: 26em;
  105. left: 3em;
  106. z-index: 9999;
  107.  
  108. // outer image (this will be border code) the purple border code i used is there as placeholder but go to scripted neocities (in video description) for more styling/color options :)
  109. border-width:8px;
  110. border-style:solid;
  111. border-image: url("https://dl.dropbox.com/s/l61yvavjx2e501e/image.png") 8 fill round;
  112. width: 94.5%;
  113. height: 49%;
  114.  
  115. // inner image (the actual image itself)
  116. width: 100%;
  117. height: 100%;
  118. background-image: url('IMG LINK HERE');
  119. background-size: cover;
  120.  
  121. // mark (highlight code)
  122. font-family: kinkie;
  123. font-size: 1.5em;
  124. background: linear-gradient(to top, #color 0%, #color 100%);
  125. -webkit-background-clip: text;
  126. -webkit-text-fill-color: transparent;
  127. -webkit-text-stroke-width: 0.5px;
  128. -webkit-text-stroke-color: black;
  129.  
  130. // marquee text - music player lyrics (my exact code - make edits as needed)
  131. <div class="marquee-container">
  132. <style>
  133.  
  134. #hehe {
  135. font-family: jojoba;
  136. color: #6f2da8;
  137. text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0;
  138. font-style: bold;
  139. font-size: 1.5em;
  140. letter-spacing: 1px;
  141. }
  142.  
  143. </style>
  144.  
  145. <div id="hehe"> <marquee behavior="scroll" direction="left"> Touch you one more time I would've made you mine Hope I don't see you again (Again)~</marquee>
  146. </div></div>
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment