hosptials

horizontal scrollbox

Oct 14th, 2021
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 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=Berkshire+Swash&family=Quicksand&display=swap" rel="stylesheet">
  4.  
  5. <style>
  6. @font-face {
  7. font-family: kids;
  8. src: url(https://dl.dropbox.com/s/m1map54iyicwois/BILLO___.TTF);
  9. }
  10.  
  11. #hoohoo { // the big container
  12. width: 100%;
  13. border: 1px solid #E38DAC;
  14. border-radius:5px;
  15. white-space: nowrap;
  16. overflow-x: auto;
  17. padding: .5em;
  18. box-sizing: border-box;
  19. height: 13em;
  20. overflow-y: hidden;
  21. -webkit-filter: drop-shadow(0px 0px 2px #EB9BB3);
  22. background-image: linear-gradient(360deg, rgba(255,255,255,0.902) 20%, rgba(255,255,255,0.38) 80%), url("https://dl.dropbox.com/s/7x70q5sjz219g2q/Foto%2011-10-21%2020%2014%2055.gif");
  23. background-size: 100%, 50%;
  24. background-repeat: repeat, repeat;
  25. font-family: 'Quicksand', sans-serif;
  26. color: #955136;
  27. }
  28.  
  29. .tomo { // i made this container for the name & pic on the left !
  30. width: 10em;
  31. white-space: normal;
  32. display: inline-block;
  33. height: 100%;
  34. padding: .2em;
  35. vertical-align: middle;
  36. margin-right: 10px;
  37. }
  38.  
  39. .lala { // this is the scrollbox w border
  40. width: 10em;
  41. border: 1px solid #E38DAC;
  42. border-radius: 5px;
  43. -webkit-filter: drop-shadow(0px 0px 2px #EB9BB3);
  44. white-space: normal;
  45. display: inline-block;
  46. height: 100%;
  47. padding: .5em;
  48. vertical-align: middle;
  49. margin-right: 10px;
  50. background: rgba(255, 246, 251, 0.18);
  51. overflow-y: scroll;
  52. }
  53.  
  54. @media (max-width: 1000px) { // these are adjustments to make it fit better on mobile
  55. .lala {
  56. width:9em;}
  57. .lili {
  58. width:9em;}
  59. #hoohoo {
  60. height:11em;}
  61. .brown {
  62. font-size:3em;}
  63. }
  64.  
  65. .brown { // this is the name
  66. text-shadow: -1px 0 #BBD6F2, 0 1px #BBD6F2, 1px 0 #BBD6F2, 0 -1px #BBD6F2, 0 0;-webkit-filter: drop-shadow(0px 0px 3px #BBD6F2);opacity: 0.8;
  67. color: #E6F0FA;
  68. vertical-align: middle;
  69. font-family:kids;
  70. font-size:3.5em;
  71. margin-right: 10px;
  72. z-index:2;
  73. }
  74.  
  75. .foto { // this is the pic on the left
  76. position: relative;
  77. bottom:10px;
  78. top:-10px;
  79. z-index:1;
  80. }
  81.  
  82. a {
  83. color: #E38DAC;
  84. text-decoration: none;
  85. font-weight: bold;
  86. }
  87.  
  88. </style>
  89.  
  90. <div id="hoohoo">
  91. <div class="tomo"><div class="brown">name</div>
  92. <img class=foto src="https://dl.dropbox.com/s/mkzj6yjqmbcq41t/s221.gif" alt="." style="width:70%;height:auto;"></div>
  93. <div class="lala">
  94. your info here
  95. <br><br>
  96. <a href="link here">name of the link</a>
  97. </div>
  98. <div class="lala">
  99. text text text text text text text text text text text text text text text text text text text text text text text text
  100. </div>
  101. <div class="lala">
  102. text text text text text text text text text text text text text text text text text text text text text text text text
  103. </div>
  104. </div>
Advertisement
Add Comment
Please, Sign In to add comment