-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.php
More file actions
51 lines (45 loc) · 1.03 KB
/
template.php
File metadata and controls
51 lines (45 loc) · 1.03 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
<head>
<style type="text/css">
.container2 {
position: relative;
}
.overlay2 {
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 100%;
opacity: 0;
transition: .5s ease;
background-color: #008CBA;
}
.container2:hover .overlay2 {
opacity: 1;
}
/*.text2 {
color: white;
font-size: 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
}*/
.resbtn{
color: white;
font-size: 100px;
position: absolute;
top: 35%;
left: 130%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
}
</style>
</head>
<div class="container2" align="right">
<img src="img/ome1.png" alt="Avatar" class="image">
<div class="overlay2">
<img src="img/ome1.png" alt="Avatar" align="left">
<h2 style="position: absolute; margin-left: 200px; margin-top: 80px;" id="headings"> OCCASSIONS MADE EASY <div class="resbtn"><a href="reservation.php" class="btn btn-warning btn-lg" role="button">Reserve Now!</a></div></h2>
</div>
</div>