From Abkrim, 3 Years ago, written in CSS.
Embed
  1. body, html {
  2.     height: 100%;
  3. }
  4.  
  5. body {
  6.     display: flex;
  7.     align-items: center;
  8.     justify-content: center;
  9.     font-family: sans-serif;
  10. }
  11.  
  12. h1 {
  13.     text-align: center;
  14. }