aytdev

CLASS 3-4 9/26/2020

Sep 26th, 2020
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.75 KB | None | 0 0
  1. <html>
  2.     <head>
  3.         <title>Welcome</title>
  4.        
  5.     </head>
  6.     <style>
  7.         .maindiv{
  8.             height: 400px;
  9.             width: 400px;
  10.             background-color: green;
  11.             margin-left: 200px;
  12.             margin-top: 200px;
  13.             position: relative;
  14.             overflow: hidden;
  15.  
  16.  
  17.         }
  18.         .ayat{
  19.        
  20.             position: absolute;
  21.             height: 200px;
  22.             width: 200px;
  23.             background-color: red;
  24.             margin-left: 100px;
  25.             margin-top: 100px;
  26.             border-radius: 100px;
  27.  
  28.  
  29.         }
  30.         .div2{
  31.             height: 200px;
  32.             width: 200px;
  33.             background-color: orange;
  34.             position: absolute;
  35.             margin-top: 100px;
  36.             left: 300px;
  37.         }
  38.     </style>
  39.  
  40. <body>
  41.     <div class="maindiv">
  42.      
  43.  
  44.        <div class="ayat">
  45.        
  46.       </div>
  47.       <div class="div2">
  48.        
  49.       </div>
  50.        
  51.     </div>
  52.  
  53.  
  54.  
  55.  
  56.  
  57. </body>
  58. </html>
Advertisement
Add Comment
Please, Sign In to add comment