Guest User

Untitled

a guest
Oct 26th, 2020
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.53 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <title>Document</title>
  7.  
  8.     <link rel = "stylesheet" href = "styles.css">
  9. </head>
  10. <body>
  11.  
  12.     <style>
  13.         #parent {
  14.     width: 300px;
  15.     border:1px solid red;
  16. }
  17.  
  18. #child {
  19.     height: 100px;
  20.     border:1px solid green;
  21. }
  22.  
  23.     </style>
  24.  
  25.     <div id="parent">
  26.         <div id="child"></div>
  27.     </div>
  28.    
  29.     <div class="a">
  30.  
  31.     </div>
  32.  
  33.  
  34. </body>
  35. </html>
Advertisement
Add Comment
Please, Sign In to add comment