Increase vertical margins for splash text

I'm attempting to follow the principles the TailwindCSS authors wrote in their
design book: To space properly, zealously space.
This commit is contained in:
William Carroll 2020-03-08 22:10:23 +00:00
parent 7924b12fa6
commit 2e0ad09a02

View file

@ -8,7 +8,7 @@
<title>Learn to code</title> <title>Learn to code</title>
</head> </head>
<body class="font-serif container max-w-2xl mx-auto px-8"> <body class="font-serif container max-w-2xl mx-auto px-8">
<h1 class="text-5xl text-center my-4">I can teach you to code.</h1> <h1 class="text-5xl text-center mt-12 mb-8">I can teach you to code.</h1>
<div class="my-4"> <div class="my-4">
<p class="leading-relaxed mb-4"> <p class="leading-relaxed mb-4">
My name is William. I have programmed as a professional for five years My name is William. I have programmed as a professional for five years