-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUnit3WebPage.html
More file actions
230 lines (179 loc) · 4.88 KB
/
Unit3WebPage.html
File metadata and controls
230 lines (179 loc) · 4.88 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
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>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.parallax {
/* The image used */
background-image: url("file://D:/ApplePhone/JackApplePhone/Photo/20200418/Bird.jpg");
/* Set a specific height */
min-height: 700px;
/* Create the parallax scrolling effect */
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
body {
height: 1500px; /* Used to enable scrolling */
background: linear-gradient(55deg, #0fb8ad 0%, #99CCFF 51%, #D3D3D3 85%);
}
.gradient-button {
margin: 10px;
font-family: "Arial Black", Gadget, sans-serif;
font-size: 20px;
padding: 15px;
text-align: center;
text-transform: uppercase;
transition: 0.5s;
background-size: 200% auto;
color: #FFF;
box-shadow: 0 0 20px #eee;
border-radius: 10px;
width: 200px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
cursor: pointer;
display: inline-block;
border-radius: 25px;
}
.gradient-button:hover{
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
margin: 8px 10px 12px;
}
.gradient-button-1 {background-image: linear-gradient(to right, #DD5E89 0%, #F7BB97 51%, #DD5E89 100%)}
.gradient-button-1:hover { background-position: right center; }
.gradient-button-2 {background-image: linear-gradient(to right, #2BC0E4 0%, #EAECC6 51%, #2BC0E4 100%)}
.gradient-button-2:hover { background-position: right center; }
.gradient-button-3 {background-image: linear-gradient(to right, #7474BF 0%, #348AC7 51%, #7474BF 100%)}
.gradient-button-3:hover { background-position: right center; }
.gradient-button-4 {background-image: linear-gradient(to right, #00d2ff 0%, #3a7bd5 51%, #00d2ff 100%)}
.gradient-button-4:hover { background-position: right center; }
.button {
display: inline-block;
padding: 15px 25px;
font-size: 24px;
cursor: pointer;
text-align: center;
text-decoration: none;
outline: none;
color: #fff;
background-color: #4CAF50;
border: none;
border-radius: 15px;
box-shadow: 0 9px #999;
}
.button:hover {background-color: #3e8e41}
.button:active {
background-color: #3e8e41;
box-shadow: 0 5px #666;
transform: translateY(4px);
}
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.button:hover span {
padding-right: 25px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}
.bgImage {
/* The image used */
background-image: url("Images/SpaceImage.jpg");
/* Full height */
height: 200px;
width:300px;
margin: 0;
border-radius: 5%;
/* Center and scale the image nicely */
/* background-position: float; */
background-repeat: repeat;
background-size: cover;
}
</style>
</head>
<body>
<p>
<div style="font-size:4vw;">
<center><strong>Unit 3: Conditional Statements</strong> </center>
</div>
</p>
<br>
<div>
<form action="LessonLectures\Unit3.1.html">
<center><button type="submit" class = "button">Boolean Expressions</button></center>
</form>
</div>
<div>
</div>
<br>
<br>
<div>
<form action="LessonLectures\Unit3.2.html">
<center> <button type="submit" class = "button">If/Else Statements</button></center>
</form>
<br>
<br>
<form action="PracticeQuiz\Unit3.1Quiz.html">
<center><button type="submit" class="gradient-button gradient-button-1">If/Else Practice</button></center>
</form>
</div>
<br>
<br>
<div>
<form action="LessonLectures\Unit3.3.html">
<center> <button type="submit" class = "button">DeMorgan's Laws</button></center>
</form>
<br>
<br>
<form action="PracticeQuiz\Unit3.2Quiz.html">
<center><button type="submit" class="gradient-button gradient-button-1">DeMorgan's Laws Practice</button></center>
</form>
</div>
<br>
<br>
<div>
<br>
<br>
<form action="PracticeQuiz\Unit3.3Quiz.html">
<center><button class="button" style="background-color: LightSlateGray; vertical-align:middle">
<span>Final</span></button></center>
</form>
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div>
<form action="JavaBasics.html">
<button type="submit" class = "button" style = "float: left; position:relative; right:-30px; top:-50px;">Exit Lesson</button>
</form>
<form action="Unit4WebPage.html">
<button type="submit" class = "button" style = "float: right; position:relative; left:-30px; top:-50px;">Unit 4</button>
</form>
</div>
<br>
<br>
</div>
<div class="parallax"></div>
<h2 style="position:fixed;">Scroll to see the effect.</h2>
</body>
</html>