-
Notifications
You must be signed in to change notification settings - Fork 0
/
lowerthirds.html
81 lines (77 loc) · 2.14 KB
/
lowerthirds.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Lower Thirds</title>
<style>
@font-face { font-family: DIN; src: url('DIN 30640 Std Neuzeit Grotesk Light.otf'); }
.lower-thirds {
width: 1000px;
height: 115px;
background-color: #1C1C1C;
position: absolute;
left: -1000px;
transition: 1s;
}
.animate-left {
transition: 1s !important;
left: 0 !important;
}
.wrapper {
position: relative;
overflow: hidden;
width: 1000px;
height: 115px;
margin-top: 50px;
margin-left: 10px;
}
.text-wrapper {
position: absolute;
top: -250px;
left: 0;
width: 100%;
height: 1000px;
transition: top 1.7s cubic-bezier(0.17, 0.04, 0.03, 0.94);
overflow: hidden;
box-sizing: border-box;
padding-top: 10px;
padding-left: 200px;
}
.animate-top {
top: 0 !important;
}
.text {
font-size: 45px;
color: white;
margin: 0px;
font-family: DIN;
font-weight: 200;
}
.text-h2 {
font-size: 28px;
color: white;
margin: 0px;
font-family: DIN;
font-weight: 200;
}
.right {
float:right;
}
</style>
</head>
<body>
<div class="wrapper">
<div class="lower-thirds" id="first">
<img src="left.png">
<div class="text-wrapper" id="second">
<h1 class="text" id="header-name">Cameron DeMille</h1>
<h2 class="text-h2" id="header-title">FIRST Senior Mentor</h2>
</div>
<img class="right" src="right.png">
</div>
</div>
<script src="./js/lowerthirds.js"></script>
</body>
</html>