/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
body{ margin: 0px; } .container{ border: 5px solid pink; position: absolute; top: 50px; left: 200px; height: 400px; width: 350px; } .header{ height: 50px; margin-top: -50px; background-color: green; } .display{ background-color: blue; height: 100%; padding-top: 50px; } .content{ background-color: yellow; height: 100%; }