negative-margins-001-ref.html (459B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>Reference for negative margins</title> 4 <link rel="author" title="Google Inc." href="https://www.google.com/"> 5 <style> 6 .container { 7 width: 40px; 8 height: 10px; 9 background-color: green; 10 border: 3px black solid; 11 } 12 </style> 13 <body> 14 <p>You should see a green rectangle with a black border, 40px wide. You should see no red.</p> 15 16 <div class="container"> 17 </div> 18 </body>