-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathindex.html
More file actions
142 lines (113 loc) · 3.34 KB
/
index.html
File metadata and controls
142 lines (113 loc) · 3.34 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- css link -->
<link rel="stylesheet" type="text/css" href="styles/displayExamples.css">
<link rel="stylesheet" type="text/css" href="styles/positionExamples.css">
<link rel="stylesheet" type="text/css" href="styles/flexboxExample.css">
<link rel="stylesheet" type="text/css" href="styles/overflowExamples.css">
<link rel="stylesheet" type="text/css" href="styles/boxshadowExample.css">
<title>HTML CSS TWO</title>
</head>
<body>
<!-- POSITION EXAMPLES -->
<h1>Position Property Examples</h1>
<!-- Static -->
<div class="static">
<p>static</p>
</div>
<!-- Relative -->
<div class="relative">
<p>relative</p>
</div>
<!-- Absolute -->
<div class="absolute">
<p>Relative</p>
<div class="absolute-child">
<p>absolute</p>
</div>
</div>
<!-- Fixed -->
<div class="fixed">
<p>fixed</p>
</div>
<!-- Sticky -->
<div class="sticky">
<p>sticky</p>
</div>
<!-- DISPLAY EXAMPLES -->
<h1>Display Examples</h1>
<!-- Block -->
<h2>Block Elements</h2>
<div class="block">
<p>Block</p>
</div>
<div class="block">
<p>Block</p>
</div>
<div class="block">
<p>Block</p>
</div>
<!-- Inline -->
<h2>Inline Elements</h2>
<p><span class="inline">Lorem ipsum</span> dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p>
<!-- Inline Block -->
<h2>Inline Block</h2>
<div class="inline-block">
<p>Inline Block</p>
</div>
<div class="inline-block">
<p>Inline Block</p>
</div>
<div class="inline-block">
<p>Inline Block</p>
</div>
<!-- Display None -->
<div class="none">
</div>
<!-- FLEX BOX EXAMPLE -->
<h1>Flex Box Examples</h1>
<div class="flex-container">
<div class="flex-item">
<p>Item One</p>
</div>
<div class="flex-item">
<p>Item Two</p>
</div>
<div class="flex-item">
<p>Item Three</p>
</div>
<div class="flex-item">
<p>Item Four</p>
</div>
</div>
<!-- flex navbar example -->
<div class="flex-navbar">
<h1>Website Title</h1>
<ul>
<li>Home</li>
<li>About</li>
<li>Shop</li>
<li>Contact</li>
</ul>
</div>
<!-- OVERFLOW EXAMPLE -->
<h1>Overflow Example</h1>
<div class="overflow-container">
<div class="overflow-item">
</div>
<div class="overflow-item">
</div>
<div class="overflow-item">
</div>
<div class="overflow-item">
</div>
</div>
<!-- BOX SHADOW EXAMPLE -->
<div class="card">
</div>
</body>
</html>