-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
178 lines (177 loc) · 4.41 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flexbox Froggy</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="app">
<section id="instructions">
<h1>Flexbox Froggy</h1>
<p>
Help these frogs to stay dry by using
<span class="help">flex-direction</span> and
<span class="help">flex-wrap</span>
</p>
<div class="editor">
<div class="line-numbers">
1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />
</div>
<pre>
#pond {
display:flex;
</pre
>
<textarea name="" id="" cols="30" rows="10"></textarea>
<pre>}</pre>
<button>Next</button>
</div>
</section>
<section id="pond">
<div id="forefront">
<div class="frog-container">
<div class="frog green"></div>
</div>
<div class="frog-container">
<div class="frog green"></div>
</div>
<div class="frog-container">
<div class="frog green"></div>
</div>
<div class="frog-container">
<div class="frog green"></div>
</div>
<div class="frog-container">
<div class="frog green"></div>
</div>
<div class="frog-container">
<div class="frog red"></div>
</div>
<div class="frog-container">
<div class="frog red"></div>
</div>
<div class="frog-container">
<div class="frog red"></div>
</div>
<div class="frog-container">
<div class="frog red"></div>
</div>
<div class="frog-container">
<div class="frog red"></div>
</div>
<div class="frog-container">
<div class="frog yellow"></div>
</div>
<div class="frog-container">
<div class="frog yellow"></div>
</div>
<div class="frog-container">
<div class="frog yellow"></div>
</div>
<div class="frog-container">
<div class="frog yellow"></div>
</div>
<div class="frog-container">
<div class="frog yellow"></div>
</div>
</div>
<div id="background">
<div class="lily-container">
<div
class="lily green"
style="transform: scale(0.88) rotate(322deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily green"
style="transform: scale(0.95) rotate(10deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily green"
style="transform: scale(0.99) rotate(32deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily green"
style="transform: scale(0.81) rotate(67deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily green"
style="transform: scale(0.82) rotate(221deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily red"
style="transform: scale(0.94) rotate(122deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily red"
style="transform: scale(0.97) rotate(190deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily red"
style="transform: scale(0.9) rotate(70deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily red"
style="transform: scale(0.82) rotate(145deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily red"
style="transform: scale(0.96) rotate(268deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily yellow"
style="transform: scale(0.88) rotate(20deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily yellow"
style="transform: scale(0.88) rotate(300deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily yellow"
style="transform: scale(0.93) rotate(267deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily yellow"
style="transform: scale(0.86) rotate(250deg)"
></div>
</div>
<div class="lily-container">
<div
class="lily yellow"
style="transform: scale(0.8) rotate(45deg)"
></div>
</div>
</div>
</section>
</div>
<script src="app.js"></script>
</body>
</html>