Created
January 29, 2019 09:18
-
-
Save harrisonmalone/48c3e3eb6108568d13b08aaf502b0703 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="nav"> | |
<div class="logout"><a href="#">Logout</a></div> | |
</div> | |
<div class="hero-image"> | |
<h1>An image goes here</h1> | |
</div> | |
<div class="content"> | |
<h2>Welcome to App</h2> | |
<button>Login</button> | |
<p>Forgot password?</p> | |
</div> | |
<div class="footer"> | |
<p>About</p> | |
<p>Terms</p> | |
<p>Contact</p> | |
<p>Online Resources</p> | |
</div> | |
</div> | |
</body> | |
</html> |
This file contains hidden or 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
body { | |
margin: 0px; | |
background: dodgerblue; | |
font-family: sans-serif; | |
} | |
.container { | |
max-width: 700px; | |
margin: 0 auto; | |
background: white; | |
height: 100vh; | |
} | |
.nav { | |
height: 5vh; | |
background: gray; | |
display: flex; | |
justify-content: flex-end; | |
align-items: center; | |
} | |
.hero-image { | |
background: blueviolet; | |
height: 25vh; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
.hero-image h1 { | |
margin: 0px; | |
} | |
.content { | |
background: pink; | |
height: 60vh; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
} | |
.content h2 { | |
margin: 20px 0px; | |
} | |
.content p { | |
margin: 3px 0px; | |
font-size: 12px; | |
} | |
button { | |
width: 600px; | |
height: 30px; | |
border: 0px; | |
background: purple; | |
font-size: 14px; | |
color: white; | |
} | |
.footer { | |
background: green; | |
height: 10vh; | |
display: flex; | |
flex-direction: column; | |
justify-content: center; | |
align-items: center; | |
} | |
.footer p { | |
margin: 0px; | |
font-size: 14px; | |
} | |
.logout { | |
padding: 0px 20px; | |
height: 100%; | |
background: red; | |
display: flex; | |
align-items: center; | |
} | |
.logout p { | |
margin: 0px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment