Last active
February 3, 2021 03:58
-
-
Save mike-pete/17354f6b81513ab917668f2068dba74c to your computer and use it in GitHub Desktop.
Day 5 Daily Challenge
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"> | |
<title>Home</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<header> | |
<p>Header</p> | |
</header> | |
<nav> | |
<p>Nav</p> | |
</nav> | |
<aside> | |
<p>Aside</p> | |
</aside> | |
<section> | |
<p>Section</p> | |
</section> | |
<article> | |
<p>Article</p> | |
</article> | |
<footer> | |
<p>Footer</p> | |
</footer> | |
</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:0; | |
} | |
header, nav, section, article, aside, footer{ | |
outline: 2px solid #555; | |
outline-offset: 0px; | |
height: 20vh; | |
margin:0; | |
padding:10px; | |
box-sizing: border-box; | |
} | |
section, article, aside{ | |
width: 50%; | |
} | |
aside{ | |
height: 40vh; | |
float: right; | |
} | |
p{ | |
font-family: sans-serif; | |
margin:0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment