SHARE
TWEET

Untitled

a guest Feb 21st, 2020 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             <div class="content">
  2.                 <h1>Title</h1>
  3.                 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Recusandae quasi sunt magnam, dolorum, quae omnis doloremque dolor molestiae molestias quis? Sapiente a dolorum laboriosam ratione incidunt totam cupiditate nihil in tenetur ad perspiciatis, vel debitis dolore distinctio quaerat, necessitatibus aliquid!</p>
  4.                 <img src="https://via.placeholder.com/350x150" alt="">
  5.                 <img src="https://via.placeholder.com/350x150" alt="">
  6.                 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Excepturi iusto sapiente earum placeat delectus assumenda molestias expedita amet enim soluta?</p>
  7.                 <img src="https://via.placeholder.com/350x150" alt="">
  8.  
  9.             </div>
  10.  
  11. .monitor .content
  12. {
  13.     position: absolute;
  14.     top: 50%;
  15.     left: 50%;
  16.     background: white; /* Remove this line once you've figured out the size you want  - or change the colour of it */
  17.     height: 500px; /* change these to make them fit your screen */
  18.     width: 600px;
  19.     transform: translate(-50%, -50%);
  20.     max-height: 400px; /* change this to something else to match the rest of your display */
  21.     overflow-y: auto; /* automatically show the scroll bar when the text is too powerful */
  22.     padding: 10px;
  23. }
  24.  
  25. .monitor .content h1
  26. {
  27.     margin: 0;
  28.     padding: 10px 0 0 20px; /* top right bottom left padding */
  29.     text-align: center /* Remove this line if you don't want it in the center */
  30.  
  31. }
  32.  
  33. .monitor .content img
  34. {
  35.     /*  you can add some bits in here if you want to fiddle with the pictures */
  36. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top