-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexercise-3.html
More file actions
102 lines (88 loc) · 2.38 KB
/
exercise-3.html
File metadata and controls
102 lines (88 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Exercise #3 || Website header</title>
<!-- Reset -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/modern-normalize@2.0.0/modern-normalize.min.css"
/>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Figtree:wght@400;700&display=swap"
rel="stylesheet"
/>
<style>
html {
font-size: 16px;
font-family: "Figtree", sans-serif;
line-height: 1.5;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
width: 80%;
margin: 3rem auto;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
align-items: center;
gap: 2rem;
}
nav ul a {
text-decoration: none;
color: #151618;
}
.btn {
color: white;
background-color: #6e32ef;
display: inline-block;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
border: 1px solid #6e32ef;
}
/* Air */
.btn {
/* transition-property: background-color;
transition-duration: 0.4s;
transition-timing-function: ease-in-out;
transition-delay: 2s; */
transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out,
border-color ease-in-out 0.4s;
/* transition: all 0.4s ease-in-out; */
}
/* .btn:hover {
background-color: #151618;
color: white;
} */
.btn:hover {
background-color: white;
color: #151618;
border-color: #151618;
}
</style>
</head>
<body>
<header>
<a href="/"><img src="images/logo-l4.svg" alt="Logo" /></a>
<nav>
<ul>
<li><a href="#">Work</a></li>
<li><a href="#">Company</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Careers</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#" class="btn">Get a Quote</a></li>
</ul>
</nav>
</header>
</body>
</html>