-
Notifications
You must be signed in to change notification settings - Fork 0
/
iframe.html
55 lines (55 loc) · 1.35 KB
/
iframe.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Three Pages in One</title>
<style>
body {
background-color: #1c1c1c;
color: #fff;
}
/* Styling for the layout */
.container {
display: flex;
flex-direction: column;
height: 100vh;
}
.top {
display: flex;
flex: 2;
gap: 10px;
}
/* Make the left iframe 75% width and right iframe 25% width */
.top iframe:first-child {
flex: 1.5;
}
.top iframe:last-child {
flex: 1;
}
.bottom {
flex: 1;
margin-top: 10px;
}
iframe {
width: 100%;
height: 100%;
border: none;
}
</style>
</head>
<body>
<div class="container">
<div class="top">
<!-- Embed the first page (left) -->
<iframe src="youtube.html"></iframe>
<!-- Embed the second page (right) -->
<iframe src="timer.html"></iframe>
</div>
<div class="bottom">
<!-- Embed the third page (bottom) -->
<iframe src="index.html"></iframe>
</div>
</div>
</body>
</html>