-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (65 loc) · 2.4 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-compatilbe" content="IE=edges" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flex Box</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/
font-awesome/5.15.2/css/all.min.css"/>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<nav class="navbar">
<div class="container">
<div class="logo">Flexbox</div>
<ul class="nav">
<li>
<a href="#">Home</a>
</li>
<li>
<a href="#">About</a>
</li>
<li>
<a href="#">Contact</a>
</li>
</ul>
</div>
</nav>
<header class="header">
<div class="container">
<div>
<h1>Flexbox Crash Course</h1>
<p>
This crash course was created by Brad Traversy to help me learn the basics of Flexbox. Flexbox is a very important and a useful tool in CSS
</p>
</div>
<img src="grid-svg.png" alt="grid-svg">
</div>
</header>
<section class="boxes">
<div class="container">
<div class="box">
<h2><i class="fas fa-arrows-alt-v"></i>
Alignment & Space</h2>
<p>
A more efficient way to lay out, align and distribute space among items in a container.
</p>
</div>
<div class="box">
<h2><i class="fas fa-arrows-alt"></i>Tricky Positioning</h2>
<p>
Flexbox usually solve tricky problems including position or dynamically resize elements on a page
</p>
</div>
<div class="box">
<h2><i class="fas fa-mobile"></i>Responsive Design
</h2>
<p>
Flexbox makes building a website layout(and making it responsive!)
</p>
</div>
</div>
</section>
</body>
</html>