-
Notifications
You must be signed in to change notification settings - Fork 0
/
obj-beta.html
78 lines (76 loc) · 1.66 KB
/
obj-beta.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
78
<!DOCTYPE HTML>
<head>
<style>
body{
margin: 0;
background: #777777;
}
.container{
display: flex;
align-items: center;
width: 100vw;
height: 100vh;
}
.element{
width: 45vw;
height: 18vw;
position: relative;
display: inline-block;
overflow: hidden;
box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
margin: 20px;
}
.mask{
width: 100%;
height: 100%;
position: absolute;
background-color: #fafafa;
pointer-events: none;
}
object{
display: inline-block;
position: absolute;
width: 100%;
height: 100%;
}
object *{
overflow: hidden;
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
}
</style>
</head>
<body>
<div class="container">
<div class="element">
<div class="mask"></div>
<object class="obj" data="./animate.html">
<embed src="http://www.google.com"> </embed>
Error.
</object>
</div>
<div class="element">
<div class="mask"></div>
<object class="obj" data="./chose.html">
<embed src="http://www.google.com"> </embed>
Error.
</object>
</div>
<div class="element">
<div class="mask"></div>
<object class="obj" data="./scroll.html">
<embed src="http://www.google.com"> </embed>
Error.
</object>
</div>
<div class="element">
<div class="mask"></div>
<object class="obj" data="./verbs.html">
<embed src="http://www.google.com"> </embed>
Error.
</object>
</div>
</div>
<script>
</script>
</body>