forked from uwidcit/INFO1601L3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
180 lines (153 loc) · 5.14 KB
/
Copy pathindex.html
File metadata and controls
180 lines (153 loc) · 5.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<style>
div{
background-color: lightgrey;
width: 300px;
border-bottom: solid;
padding: 50px;
margin:20px 10px 40px 20px;
}
h2{
text-align: center;
text-decoration: underline overline solid black;
}
p{
text-align: justify;
width: 50vw;
/*margin-left: auto;
margin-right: auto;*/
margin: 0 auto;
}
p span{
font-weight: bold;
}
section{
border-bottom: 5px solid black;
height: 80vh;
overflow-y:scroll
}
#section1::before{
background-image: url("https://images.unsplash.com/reserve/LJIZlzHgQ7WPSh5KVTCB_Typewriter.jpg?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=800&q=80");
background-size: stretch;
background-position: center;
content: "";
position: absolute;
width:100%;
height: 80vh;
z-index: -2;
opacity: 0.3;
}
#section2{
height: 20vh;
padding: 2em;
color: white;
background: rgb(131,58,180);
background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(29,211,253,1) 50%, rgba(252,176,69,1) 100%);
}
p:hover{
outline: 2px double red;
}
div{
width: 400px;
height: 300px;
margin-left: auto;
margin-right: auto;
margin-top: auto;
margin-bottom: auto;
background-color: white;
color: black;
text-align: center;
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
border-radius:4px;
padding: 5px;
}
div> h1{
text-decoration: none;
}
nav{
text-align-align: center;
}
</style>
</head>
<body>
<div>
This the div content
</div>
<section id="section1">
<h1>
Sample Poem
</h1>
<h2>
Come to Labs
</h2>
<p>
<span> Why </span> won't students come to labs? This is something I always ponder.
After unprepared students write exams, They watch their marks in wonder.</p>
<p>
<span> Why </span> won't students come to labs? What is more important than class?
How can you be a student if you don't even try to pass?</p>
<p>
<span> Why </span> won't students come to labs? It happens all the time.
If you came to labs, you'd know what to do. But you would rather duck and go lime.</p>
<p>
<span> Why </span> won't students come to labs? I see them all now stressing.
If you only learned this basic programming, You would surely now be zessing.</p>
<p>
<span> Why </span> won't students come to labs? This is something I always ponder.
After unprepared students write exams, They watch their marks in wonder.</p>
<p>
<span> Why </span> won't students come to labs? What is more important than class?
How can you be a student if you don't even try to pass?</p>
<p>
<span> Why </span> won't students come to labs? It happens all the time.
If you came to labs, you'd know what to do. But you would rather duck and go lime.</p>
<p>
<span> Why </span> won't students come to labs? I see them all now stressing.
If you only learned this basic programming, You would surely now be zessing.</p>
<p>
<span> Why </span> won't students come to labs? This is something I always ponder.
After unprepared students write exams, They watch their marks in wonder.</p>
<p>
<span> Why </span> won't students come to labs? What is more important than class?
How can you be a student if you don't even try to pass?</p>
<p>
<span> Why </span> won't students come to labs? It happens all the time.
If you came to labs, you'd know what to do. But you would rather duck and go lime.</p>
<p>
<span> Why </span> won't students come to labs? I see them all now stressing.
If you only learned this basic programming, You would surely now be zessing.</p>
<p>
<span> Why </span> won't students come to labs? This is something I always ponder.
After unprepared students write exams, They watch their marks in wonder.</p>
<p>
<span> Why </span> won't students come to labs? What is more important than class?
How can you be a student if you don't even try to pass?</p>
<p>
<span> Why </span> won't students come to labs? It happens all the time.
If you came to labs, you'd know what to do. But you would rather duck and go lime.</p>
<p>
<span> Why </span> won't students come to labs? I see them all now stressing.
If you only learned this basic programming, You would surely now be zessing.</p>
</section>
<section id="section2">
<div>
<h1>My Div</h1>
</div>
</section>
<script src="script.js"></script>
<script src="script.js"></script>
</body>
</html>