ruesha

scroll

Feb 20th, 2022
488
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 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=JetBrains+Mono&display=swap" rel="stylesheet">
  4.  
  5. <style>
  6. #scroll01{
  7. background: #FFFFFFB0;
  8. font-family: JetBrains Mono;
  9. height: 175px;
  10. width: 75%;
  11. padding: 8px;
  12. margin-left: auto;
  13. margin-right: auto;
  14. text-align: left;
  15. overflow: auto;
  16. position: absolute;
  17. top: 40px;
  18. left: 4.2em;
  19. z-index: 1;
  20. border-radius: 3px;
  21. font-size: .75em;
  22. line-height: 15px;
  23. }
  24.  
  25. mark {
  26. font-family: JetBrains Mono;
  27. background: #F4D4FF;
  28. border-radius: 50%;
  29. padding-left: 5px;
  30. padding-right: 5px;
  31. color: #000;
  32. }
  33.  
  34. </style>
  35. <div id="scroll01">
  36. <mark>info</mark> info info info info
  37. </div>
Add Comment
Please, Sign In to add comment