A Pen by Ben Dunkle on CodePen.
Created
November 4, 2020 16:22
-
-
Save field2/e0b36b9215e7cd048e840594e40b7559 to your computer and use it in GitHub Desktop.
Lab 8: Ghost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Ghost</h1> | |
<h2>A simple spelling game</h2> | |
<p>Here's a simple game that'll pit you against your friends for the title of the sole survivor. It starts off easy, but with each turn it gets more and more cutthroat. Will you survive until the end, or will you end up as a | |
GHOST?</p> | |
<a href="https://www.figma.com/proto/LYr7utVoR3iEzqwVuHj6bd/Project-2-dma217?node-id=1%3A2&viewport=596%2C486%2C1.19429349899292&scaling=scale-down">Try it now for free!</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
margin:0; | |
padding:0; | |
} | |
html, body { | |
height:100%; | |
} | |
body { | |
display:flex; | |
flex-direction:column; | |
justify-content:space-around; | |
align-items: center; | |
font-family:sans-serif; | |
background-color:#0082D0; | |
color:#fff; | |
} | |
p { | |
max-width: 45ch; | |
font-size:1.4em; | |
line-height:1.6rem; | |
} | |
a { | |
display:inline-block; | |
color:#0082D0; | |
background:#fff; | |
text-decoration:none; | |
padding:1rem 2rem; | |
width:auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment