Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.89 KB | None | 0 0
  1. <html>
  2.     <head>
  3.         <title>Daniel Gedz</title>
  4.        
  5.         <script>
  6.             var randomNum = Math.floor(Math.random() * 100) + 1;
  7.             alert(`Your random number is ${randomNum}`);
  8.         </script>
  9.        
  10.         <style>
  11.             body {
  12.                 background: rgb(2,0,36);
  13.                 background: linear-gradient(120deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 33%, rgba(0,212,255,1) 100%);
  14.                 color: white;
  15.                 padding: 10px;
  16.             }
  17.            
  18.             .color {
  19.                 color: #ff0000;
  20.                 font-size: 20px;
  21.             }
  22.            
  23.             .rotate-text {
  24.                 position: absolute;
  25.                 transform: rotate(15deg);
  26.             }
  27.            
  28.             div {
  29.                 padding: 20px;
  30.                 margin: 20px;
  31.                 width: 120px;
  32.                 background: limegreen;
  33.                 color: white;
  34.                 font-family: sans-serif;
  35.             }
  36.            
  37.             .rotation {
  38.                 transform: rotate(15deg);
  39.                 padding: 20px;
  40.             }
  41.            
  42.         </style>
  43.     </head>
  44.  
  45.     <body>
  46.         <img style="position: absolute; margin-left: 600px" src="https://image.flaticon.com/icons/svg/124/124010.svg" width="100px">
  47.         <p style="padding-bottom: 100px; font-size: 50px;">Facebook</p>
  48.         <hr>
  49.         <h2><a href="https://google.com" style="color: #e0882f;">Hello World!!</a></h2>
  50.         <hr>
  51.         <b class="color rotate-text">Bold Text</b><br>
  52.         <i class="color rotate-text">Italic</i><br>
  53.         <u class="color rotate-text">Underlined</u><br>
  54.         <del class="color rotate-text">Deleted text</del><br>
  55.         <hr>
  56.         <ul type="circle">
  57.             <li>1</li>
  58.             <li>2</li>
  59.         </ul>
  60.         <ol>
  61.             <li>Text 1</li>
  62.             <li>Text 2</li>
  63.         </ol>
  64.         <hr>
  65.         <a href="https://google.com">
  66.             <img style="margin-left: 250px" src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" width="300px">
  67.         </a>
  68.         <b><p style="margin-left: 370px">МЯУ</p></b>
  69.         <img style="margin-left: 200px; transform: rotate(-180deg); position: absolute; padding-top: 10px;" src="image.jpg" width="400px">
  70.            
  71.         <div class="rotation">
  72.             <p>Rotated</p>
  73.         </div>
  74.        
  75.         <div>
  76.             <p>Not Rotated</p>
  77.         </div>
  78.     </body>
  79. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement