-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
22 lines (20 loc) · 1.05 KB
/
index.html
File metadata and controls
22 lines (20 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="icon" type="image/svg+xml" href="/vite.svg"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>OverlapJs</title>
</head>
<body>
<div class="drag-container" style="height: 600px; padding-left: 100px; padding-top: 100px; margin-bottom: 500px; position: relative">
<div class="overlap-bottom block" style="background-color: red; left: 150px; top: 150px;"></div>
<div class="overlap-top block" style="background-color: blue; left: 20px; top: 20px; pointer-events: none;"></div>
</div>
<div class="rotate-container" style="height: 600px; padding-left: 100px; padding-top: 100px; margin-bottom: 500px; position: relative">
<div class="overlap2-bottom block" style="background-color: red; left: 150px; top: 150px; transition: all 1s ease-out;"></div>
<div class="overlap2-top block" style="background-color: blue; left: 20px; top: 20px; pointer-events: none;"></div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>