-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
40 lines (40 loc) · 880 Bytes
/
popup.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
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
#wrap {
width: 750px;
height: 1500px;
padding: 0;
overflow: hidden;
scrollbar-width: none;
}
#scaled-frame {
width: 1000px;
height: 2000px;
border: 0px;
}
#scaled-frame {
zoom: 0.75;
-moz-transform: scale(0.75);
-moz-transform-origin: 0 0;
-o-transform: scale(0.75);
-o-transform-origin: 0 0;
-webkit-transform: scale(0.75);
-webkit-transform-origin: 0 0;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
#scaled-frame {
zoom: 1;
}
}
</style>
</head>
<body>
<div id="wrap">
<iframe id="scaled-frame"></iframe>
</div>
</body>
<script src="popup.js"></script>
</html>