HTML CSS examples for CSS Widget:Header
Remove the gap created by paragraph and header tags
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!-- ww w.j a va2 s . co m--> background-color: #3A3C3D; margin: 0; } .backDrop { background-color: #aca; box-shadow: 0 0 20px black; height: 100vh; width: 90vw; margin: auto; position: abolute; } h1{ margin:0; padding:10px; } </style> </head> <body> <div class="backDrop"> <h1>Hello world</h1> </div> </body> </html>