Advertisement
katya_resources

basic scrollbox

May 17th, 2022
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.79 KB | None | 0 0
  1. <style>
  2. @import url('https://fonts.googleapis.com/css2?family=Mali&display=swap');
  3. </style>
  4.  
  5. <style>
  6. #scrollOne {
  7. font-family: 'Mali', cursive;
  8. width 100%;
  9. font-size: 0.65em;
  10. text-align: left;
  11. line-height: 15px;
  12. border: 1px solid #000000;
  13. padding: 7px;
  14. background-color: #ffffff;
  15. color: #000000;
  16. height: 75px;
  17. overflow-y: scroll;
  18. }
  19. </style>
  20.  
  21. <div id=scrollOne>text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text</div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement