-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2.html
More file actions
131 lines (127 loc) · 2.07 KB
/
2.html
File metadata and controls
131 lines (127 loc) · 2.07 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
<!DOCTYPE html>
<html>
<head>
<title>Thank you!!</title>
</head>
<style type="text/css">
html,body{
margin:0;
height: 100%;
background: linear-gradient(to bottom right,red,yellow);
background-repeat: no-repeat;
background-size: cover;
width: 100%;
}
.quote{
position: relative;
letter-spacing: 1px;
margin-bottom: -40px;
animation: text 3s infinite;
color: floralwhite;
}
@keyframes text{
0%{
margin-bottom: -40px;
}
30%{
letter-spacing: 3px;
margin-bottom: -40px;
}
85%{
letter-spacing: 1.8px;
margin-bottom: -40px;
}
}
table {
width:50%;
margin-left: auto;
margin-right: auto;
margin-top: 100px;
}
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 15px;
text-align: left;
}
#t01 tr:nth-child(even) {
background-color: #eee;
}
#t01 tr:nth-child(odd) {
background-color: #fff;
}
#t01 th {
background-color: black;
color: white;
}
.link{
text-decoration: none;
color: black;
font-size: 18px;
border: 2px solid green;
padding: 16px 50px;
text-align: center;
}
.link:hover{
background: green;
color: white;
}
.butt{
display: flex;
justify-content: center;
align-items: center;
}
</style>
<body>
<h2 class="quote" style="text-align: center;">Employee Table</h2>
<table id="t01">
<tr>
<th>Eid</th>
<th>Name</th>
<th>Age</th>
<th>Designation</th>
<th>Salary(in INR)</th>
</tr>
<tr>
<td>1</td>
<td>Berlin</td>
<td>30</td>
<td>Assistant Professor</td>
<td>30000</td>
</tr>
<tr>
<td>2</td>
<td>Tokyo</td>
<td>25</td>
<td>Associate Professor</td>
<td>35000</td>
</tr>
<tr>
<td>3</td>
<td>Helsinki</td>
<td>23</td>
<td>Manager</td>
<td>20000</td>
</tr>
<tr>
<td>4</td>
<td>Rio</td>
<td>43</td>
<td>Professor</td>
<td>50000</td>
</tr>
<tr>
<td>5</td>
<td>Nairobi</td>
<td>28</td>
<td>Supervisor</td>
<td>28000</td>
</tr>
</table>
<div class="butt" style="margin-top: 50px;">
<a href="3.html" class="link">Experiment 3</a>
</div>
</body>
</html>