-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemocss.html
230 lines (199 loc) · 7.59 KB
/
democss.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
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
</style>
<title>FloreauLuca</title>
<meta charset="UTF-8">.
<meta name="description" content="DemoCSS de floreauluca.github.io">
<meta name="keywords" content="Floreau, Luca, DemoCSS">
<meta name="author" content="Floreau Luca">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" , href="democss.css">
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
</head>
<body class="indexBody">
<a href="index.html" style="font-size:10vw;"> Menu </a>
<ul>
<li><a href="#home" class="active">Home</a></li>
<li><a href="#news">News</a></li>
<li><a href="#contact">Contact</a></li>
<li class="dropdown">
<a href="javascript:void(0)" class="dropbtn">About</a>
<div class="dropdown-content">
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
</div>
</li>
</ul>
<div>
<h1 style="text-align:center;"> Demo </h1>
<h2 style="text-align:center;"> Demo </h2>
<h3 style="text-align:center;"> Demo </h3>
<p> Test <p>
<p class="center large">This paragraph refers to two classes.</p>
<p id="para1">This paragraph refers to two classes.</p>
</div>
<div class="background">
<p> Test <p>
</div>
<div class="border">
<p> Test <p>
</div>
<div class="box">
<p> Test <img class="middle" src="Data/UI.gif" alt="Beatles" style="width:50%"> Test <p>
<p class="box"> This is a test.<br> Second Test<p>
</div>
<p> Test Test <p>
<p class="font"> This is a test.<br> Second Test<p>
<i class="fas fa-cloud"></i>
<i class="fas fa-heart"></i>
<i class="fas fa-car"></i>
<i class="fas fa-file"></i>
<i class="fas fa-bars"></i>
<br>
<a class="button" href="default.asp" target="_blank">This is a link</a>
<ul class="list">
<li>Coffee</li>
<li>Tea</li>
<li>Coca Cola</li>
</ul>
<table class="tableau">
<tr class="tableau">
<th class="tableau">Firstname</th>
<th class="tableau">Lastname</th>
</tr>
<tr class="tableau">
<td class="tableau">Peter</td>
<td class="tableau">Griffin</td>
</tr>
<tr class="tableau">
<td class="tableau">Lois</td>
<td class="tableau"></td>
</tr>
</table>
<br>
<br>
<img class="invisible" src="Data/UI.gif" alt="Beatles" style="width:50%">
<img style="transform: rotate(20deg); position: static; border: 3px solid #73AD21; left: 30px; height: 200px; width: 50%;" src="Data/UI.gif" alt="Beatles" style="width:50%">
<img style="position: relative; left: 30px; height: 200px; width: 50%; display: block; margin-left: auto; margin-right: auto;" src="Data/UI.gif" alt="Beatles" style="width:50%">
<img style="position: fixed; z-index: -1; bottom: 0; right: 0; height: 40px; width: 70px;" src="Data/UI.gif" alt="Beatles" style="width:50%">
<img style="position: absolute; height: 40px; width: 70px;" src="Data/UI.gif" alt="Beatles" style="width:50%">
<img style="position: sticky; height: 40px; width: 70px;" src="Data/UI.gif" alt="Beatles" style="width:50%">
<p>
<img src="Data/UI.gif" alt="Pineapple" style="width:170px;height:20px;margin-right:15px; float: left;">
Lorem ipsum dolor sit amet,<br> consectetur adipiscing elit.<br> consectetur adipiscing elit.<br> consectetur adipiscing elit.
</p>
<br>
<div class="clearfix">
<div class="img-container invert">
<img src="Data/background.png" alt="Italy" style="width:100%">
</div>
<div class="img-container">
<img src="Data/background.png" alt="Forest" style="width:100%">
</div>
<div class="img-container">
<img src="Data/background.png" alt="Mountains" style="width:100%">
</div>
</div>
<div class="hidden">
Hover over me to show the p element
<p class="hidden">Tada! Here I am!</p>
<p class="hidden">Tada! Here I am!</p>
</div>
<p>Some text <q lang="no">A quote in a paragraph</q> Some text.</p>
<div class="imagedropdown">
<img src="Data/UI.gif" alt="Cinque Terre" width="100" height="50">
<div class="imagedropdown-content">
<img src="Data/UI.gif" alt="Cinque Terre" width="300" height="200">
<div class="imagedesc">Beautiful Cinque Terre</div>
</div>
</div>
<div class="gallery">
<a target="_blank" href="Data/UI.gif">
<img src="Data/UI.gif" alt="Northern Lights" width="600" height="400">
</a>
<div class="desc">Add a description of the image here</div>
</div>
<div class="gallery">
<a target="_blank" href="Data/background1.png">
<img src="Data/background1.png" alt="Mountains" width="600" height="400">
</a>
<div class="desc">Add a description of the image here</div>
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div>
<form action="/action_page.php">
<label for="fname">First Name</label>
<input type="text" id="fname" name="firstname" placeholder="Your name..">
<br>
<label for="lname">Last Name</label>
<input type="text" id="lname" name="lastname" placeholder="Your last name..">
<br>
<label for="country">Country</label>
<select id="country" name="country">
<option value="australia">Australia</option>
<option value="canada">Canada</option>
<option value="usa">USA</option>
</select>
<input type="submit" value="Submit">
</form>
</div>
<h1 class="count">Using CSS Counters:</h1>
<h2 class="count">HTML Tutorial</h2>
<h3 class="count">HTML Tutorial</h3>
<h3 class="count">HTML Tutorial</h3>
<h3 class="count">HTML Tutorial</h3>
<h2 class="count">CSS Tutorial</h2>
<h3 class="count">HTML Tutorial</h3>
<h2 class="count">JavaScript Tutorial</h2>
<h3 class="count">HTML Tutorial</h3>
<h3 class="count">HTML Tutorial</h3>
<p class="overflow">This is some long text that will not fit in the box</p>
<div class="transition">ease-in-out</div><br>
<div class="animation"></div>
<div class="tooltip">
Hover over me
<span class="tooltiptext">Tooltip text</span>
</div>
<div class="container-photo">
<img src="Data/background.png" alt="Avatar" class="image-photo">
<div class="overlay-photo">
<div class="text-photo">Hello World</div>
</div>
</div>
<iframe src="https://editor.p5js.org/Kiddy/embed/jqPPAcCf2" width="750" height="750"></iframe>
<iframe src="Script/p5JS/Conway/index.html" width="750" height="750"></iframe>
<h1>The flex-flow Property</h1>
<p>The flex-flow property is a shorthand property for the flex-direction and the flex-wrap properties.</p>
<div class="flex-container">
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
<div>7</div>
<div>8</div>
<div>9</div>
<div>10</div>
<div>11</div>
<div>12</div>
<div>12</div>
<div>12</div>
<div>12</div>
<div>12</div>
<div>12</div>
</div>
<p>Try resizing the browser window.</p>
</body>
</html>