generated from cal-cs184/hw-webpage-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (54 loc) · 1.02 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
<html>
<head>
<style>
body {
position: relative;
background-color: #343434;
color: white;
font-family: sans-serif;
}
table { width: 100%; }
td {
margin-left: 20px;
text-align: center;
transition: 0.5s;
background-color: #8f00c3;
padding: 10px;
margin-left: 100px;
border-radius: 10px;
}
td:hover {
padding-left: 20px;
padding-right: 20px;
transition: 0.5s;
background-color: #75039e;
}
td a {
color: white;
text-decoration: none;
}
.center {
width: 50%;
position: absolute;
margin-top: 20%;
left: 50%;
-ms-transform: translate(-50%, -40%);
transform: translate(-50%, -40%);
text-align: center;
}
</style>
</head>
<body>
<div class="center">
<h1>Elana's CS184 Project Webpages</h1>
<table>
<tr>
<td><a href="hw1/index.html">Homework 1</a></td>
<td><a href="hw2/index.html">Homework 2</a></td>
<td><a href="hw3/index.html">Homework 3</a></td>
<td><a href="hw4/index.html">Homework 4</a></td>
</tr>
</table>
</div>
</body>
</html>