Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
* {
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
}

header {
height: 100px;
width: 100%;
}

header > section {
background-color: #4c00d5;
height: 35px;
display: flex;
align-items: center;
justify-content: flex-end;
}

header section span {
margin-right: 10px;
}

header section span i {
color: #9e4bff;
}

nav {
background-color: #6200ee;
display: flex;
align-items: center;
justify-content: space-around;
height: 60px;
}

nav section {
width: 50%;
display: flex;
justify-content: flex-start;
align-content: flex-start;
}

nav section span {
margin-right: 25px;
}

nav section span i,
nav section h1,
nav ul li i {
color: white;
}

nav ul {
display: flex;
align-items: center;
justify-content: space-between;
}

nav ul li {
list-style: none;
margin: 0 15px;
}
40 changes: 40 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./css/style.css" />
<script
src="https://kit.fontawesome.com/886cb4c0ab.js"
crossorigin="anonymous"
></script>
<title>Reto CSS 3</title>
</head>
<body>
<header>
<section>
<span><i class="fas fa-square-full"></i></span>
<span><i class="fas fa-circle"></i></span>
<span><i class="fas fa-caret-down"></i></span>
</section>
<nav>
<section>
<span><i class="fas fa-bars"></i></span>
<h1>Page title</h1>
</section>
<ul>
<li>
<span><i class="fas fa-heart"></i></span>
</li>
<li>
<span><i class="fas fa-search"></i></span>
</li>
<li>
<span><i class="fas fa-ellipsis-v"></i></span>
</li>
</ul>
</nav>
</header>
<main></main>
</body>
</html>