-
-
Save codecademydev/da5f193882e7af6395c1903e71aa9a07 to your computer and use it in GitHub Desktop.
Codecademy export
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>The Tea Cozy</title> | |
<link rel="stylesheet" href="style.css" type="text/css" /> | |
</head> | |
<body> | |
<!--Logo and Navigation--> | |
<div class="header"> | |
<h1> | |
<img src="img-tea-cozy-logo.webp" alt="Tea Cozy Logo"> | |
</h1> | |
<nav> | |
<a href="#mission">Mission</a> | |
<a href="#featured tea">Featured Tea</a> | |
<a href="#locations">Locations</a> | |
</nav> | |
</div> | |
<!--End of Header--> | |
</body> | |
</html> |
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
body{ | |
font-family: Helvetica; | |
font-size: 22px; | |
color: seashell; | |
background-color: black; | |
opacity: 0.9; | |
margin: 0px; | |
width: auto; | |
} | |
.header{ | |
display: inline-flex; | |
flex-direction: row; | |
border-bottom: 1px solid seashell; | |
position: fixed; | |
min-height: 69px; | |
width: 100%; | |
margin: auto; | |
padding: 10px; | |
justify-content: space-between; | |
align-items: center; | |
} | |
.header img{ | |
align-content: left; | |
width: auto; | |
} | |
.header a{ | |
text-decoration: underline; | |
display: inline; | |
color: seashell; | |
justify-content: center; | |
margin: auto; | |
padding-right: 10px; | |
padding-top: 10px; | |
align-items: center; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment