I recently had the idea to try and create a simple page layout without any HTML at all except for the <html> and <body> tags. After a few minutes of playing around I had something working, it was actually weirdly easy!

See the Pen CSS Only Webpage by Jacek (@betterphp) on CodePen.

It uses the ::before and ::after elements of the body tag to display the two paragraphs, mimicking paragraph tags, and the ::before and ::after of the html tag for the header and footer.