Advertisement
snail-legs

24. bubble [recode]

Oct 16th, 2021
1,428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.42 KB | None | 0 0
  1. <!-- hello!  this code is a second attempt at one of the first ones I made, bubble.  it's a bit better/more responsive than the original, but will probably still break on smaller screens. use it at your own risk, is what I'm saying here. -->
  2.  
  3. <div class="container text-dark" style="max-width: 500px;">
  4.    <div class="card rounded-circle" style="background-image: linear-gradient(#CAE3F3, #BDE8D9); padding: 17%;">
  5.       <div class="m-auto" style="height: 300px; overflow-y: auto; background-color: #EBF3F1; border-radius: .25rem; padding: 20px;">
  6.          
  7.          <!-- character name and quick info -->
  8.          <div class="text-center">
  9.             <h2 class="mb-0" style="color: #66B2B4;">character name</h2>
  10.             <h6 style="color: #808080;">pronouns . info . info</h6>
  11.          </div>
  12.          
  13.          <!-- main text -->
  14.          <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis sollicitudin elit sed tellus blandit viverra sed eget odio. Donec accumsan tempor lacus, et venenatis elit feugiat non. Duis porta eros et velit blandit dapibus. Curabitur ac finibus eros. Duis placerat velit vitae massa sodales, eget mattis nibh pellentesque.</p>
  15.          
  16.          <!-- code credit -->
  17.          <p style="color: #66B2B4;" class="text-center"> code by <a href="https://toyhou.se/snail-legs" style="color: #66B2B4; text-decoration: underline;">snail-legs</a></p>
  18.          
  19.       </div>
  20.    </div>
  21. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement