-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdemo.html
77 lines (66 loc) · 1.23 KB
/
demo.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
<!doctype html>
<html lang="de-DE">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Screensaver Demo</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css" />
<style>
body {
background: #fff;
}
.monitor {
width: 80%;
margin: 0 auto;
max-width: 1200px;
}
.monitor .panel,
.monitor .neck,
.monitor .foot {
background: #18202d;
}
.monitor .panel {
padding: 10px;
border-radius: 10px;
}
.monitor .neck {
width: 10%;
height: 30px;
margin: 0 auto;
}
.monitor .foot {
width: 50%;
height: 20px;
margin: 0 auto;
border-radius: 2px 2px 5px 5px;
}
.monitor .screen {
position: relative;
width: 100%;
height: 0;
padding-bottom: 51%;
}
.monitor .browser {
border: 0;
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
</style>
</head>
<body>
<div class="monitor">
<div class="panel">
<div class="screen">
<iframe class="browser" src="./screen.nw/index.html"></iframe>
</div>
</div>
<div class="neck"></div>
<div class="foot"></div>
</div>
</body>
</html>