Advertisement
loveberry

brackets

Jun 28th, 2023
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <style>
  2. .brackets {
  3. border: 3px pink solid;
  4. border-width: 0 3px 0 3px;
  5. border-radius:10px;
  6. padding: 0px 4px 0px 4px;
  7. width:200px; /* change number if needed */
  8. height:50px; /* change number if needed */
  9. overflow-y:auto;
  10.  
  11. /* place text in center */
  12. display: flex;
  13. justify-content: center;
  14. align-items: center;
  15. }
  16. </style>
  17.  
  18. <div class="brackets">wah</div>
  19.  
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement