Advertisement
naocrrds

jichuwee carrd co scrollbox

Jan 2nd, 2025
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. <style>
  2.  
  3. .divSquare {
  4. width: 30%;
  5. height: auto;
  6. margin: 3px;
  7. border: 2px solid black;
  8. float: left;
  9. padding: 3px;
  10. border-radius: 0.75em;
  11. background: #faedef;
  12. display:inline;
  13. }
  14. #textobody mark {
  15. font-family: lovely;
  16. font-size: 1.5em;
  17. border: 1px dashed black;
  18. background-color: #f7c0d6;
  19. text-shadow: -1px 0 #fff, 0 1px #000, 1px 0 #000, 0 -1px #fff, 0 0;
  20. color: #b84154;
  21. border-radius: 100%;
  22. padding: 0 1px 0 1px;
  23. }
  24. #yay {
  25. overflow: scroll;
  26. width: auto;
  27. height: 70px;
  28. overflow-x: hidden;
  29. text-align: left;
  30. font-family: "Bai Jamjuree", sans-serif;
  31. font-size: 1em;
  32. line-height: 0.875;
  33. font-weight: 500;
  34. color: #000;
  35. }
  36. #yay a {
  37. color: inherit;
  38. text-decoration: dotted;
  39. transition: color 0.25s ease;
  40. }
  41. #yay a:hover {
  42. filter: blur(0.1rem);
  43. -webkit-transition: all 0.3s ease-in-out;
  44. -moz-transition: all 0.3s ease-in-out;
  45. -o-transition: all 0.3s ease-in-out;
  46. -ms-transition: all 0.5s ease-in-out;
  47. transition: all 0.3s ease-in-out;
  48. text-decoration: dotted;
  49. color: #636363;
  50. font-style: italic;
  51. }
  52. ::-webkit-scrollbar {
  53. width: 0; /* remove scrollbar space */
  54. background: transparent; /* to make scrollbar invisible */
  55. }
  56. ::-webkit-scrollbar-thumb {
  57. background: transparent;
  58. }
  59. @font-face {
  60. font-family: lovely;
  61. src: url(https://dl.dropbox.com/s/xde2bkhiie1bm8r/LovelyRegular.ttf);
  62. }
  63.  
  64. </style>
  65. i figured out the code here https://stackoverflow.com/questions/24977634/css-float-4-divs-in-a-square-order-float-left-only-2-and-4-does-not-work
  66. <br>
  67.  
  68. <link href="https://fonts.googleapis.com/css?family=Bai+Jamjuree:500,500italic" rel="stylesheet" type="text/css"/>
  69. <div id="first" class="divSquare">
  70. <div id="yay">
  71. <div id="textobody"><br><mark>title 1 ✿</mark> you can adjust the height of box in #yay styles. . . first scrollable box <br><br /> <mark>links</mark> <a href="http://web.archive.org/web/20220409145042/https://youtube.com/c/naocrrds">youtube</a> <a href="https://twitter.com/naocrrds">naocrrds </a><br><br /> </div>
  72. </div>
  73. </div>
  74. <div id="second" class="divSquare">
  75. <div id="yay">
  76. <div id="textobody"><br><mark>title 2</mark> second scrollable box <br><br /> </div>
  77. </div>
  78. </div>
  79. <div style="clear:both"></div>
  80. <div id="third" class="divSquare">
  81. <div id="yay">
  82. <div id="textobody"><br><mark>title 3</mark> third scrollable box<br><br /> </div>
  83. </div>
  84. </div>
  85. <div id="fourth" class="divSquare">
  86. <div id="yay">
  87. <div id="textobody"><br><mark>title 4</mark> fourth scrollable box <br><br /> </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement