-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (50 loc) · 1.66 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
<!-- Copyright 2017 Christopher Combes -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Scroll Curtain Effect with CSS</title>
<link rel="stylesheet" href="css/curtains.css">
</head>
<body>
<!-- This static image remains in the background -->
<div id="background-1" class="image-background">
<div class="area-text">Here is some text.</div>
</div>
<!-- This overlay moves over top of the background image -->
<div class="overlay">
<div class="top">
<div class="area-text">Here is some text.</div>
</div>
<div class="bottom">
<div class="area-text">Here is some text.</div>
</div>
</div>
<!-- Three backgrounds with top area as transparent and bottom area opaque -->
<div id="background-2" class="image-background">
<div class="clear">
<div class="area-text">Here is some text.</div>
</div>
<div class="bottom">
<div class="area-text">Here is some text.</div>
</div>
</div>
<div id="background-3" class="image-background">
<div class="clear">
<div class="area-text">Here is some text.</div>
</div>
<div class="bottom">
<div class="area-text">Here is some text.</div>
</div>
</div>
<div id="background-4" class="image-background">
<div class="clear">
<div class="area-text">Here is some text.</div>
</div>
<div class="bottom">
<div class="area-text">Here is some text.</div>
</div>
</div>
</body>
</html>