-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (45 loc) · 2.03 KB
/
index.html
File metadata and controls
58 lines (45 loc) · 2.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900" rel="stylesheet">
<link rel="stylesheet" href="css/icon-font.css">
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" type="image/png" href="img/favicon.png">
<title>Natours | Exciting tours for adventurous people</title>
</head>
<body>
<header class="header">
<!-- better practice: first have a small container div with the img insisde and then posistion that container -->
<div class="header__logo-box">
<img src="img/logo-white.png" alt="Logo" class="header__logo">
</div>
<div class="header__text-box">
<h1 class="heading-primary">
<!-- span element is by default an inline element, just line text, so we use diplay property to display it as block, so it occupies the whole space -->
<span class="heading-primary--main">Outdoors</span>
<span class="heading-primary--sub">is where life happens</span>
</h1>
<a href="#" class="btn btn--white btn--animated">Discover our tours </a>
</div>
</header>
<main>
<section class="section-about">
<div class="u-center-text u-margin-bottom-8">
<h2 class="heading-secondary">
Exciting tours for adventurous people
</h2>
</div>
<div class="row">
<div class="col-1-of-2">
Text content
</div>
<div class="col-1-of-2">
Image composition
</div>
</div>
</section>
</main>
</body>
</html>