-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathl3rd-fixed.html
32 lines (30 loc) · 1011 Bytes
/
l3rd-fixed.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Lower Third (Dynamic)</title>
<link rel="stylesheet" href="css/global.css" />
<link rel="stylesheet" href="https://use.typekit.net/qro8nwd.css" />
<script src="js/webcg-framework.umd.js"></script>
<script type="text/javascript" src="js/lower-third.js"></script>
<style type="text/css">
.overlay {
/* Initially hide the overlay */
opacity: 0;
/* Position overlay with equal margin to the left and bottom */
position: absolute;
left: var(--margin);
bottom: var(--margin);
/* Set a max-width to prevent going over the right margin at 100% - 2 * margin, 1728px at 1080p */
max-width: calc(100vw - 2 * var(--margin));
width: 100%;
}
</style>
</head>
<body>
<div class="overlay">
<div class="line line-upper f0 grad-1"></div>
<div class="line line-lower f1 grad-light"></div>
</div>
</body>
</html>