-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathriddles.html
More file actions
154 lines (128 loc) · 5.35 KB
/
riddles.html
File metadata and controls
154 lines (128 loc) · 5.35 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.flip3D{ width:440px; height:240px; margin:10px; float:left;font-size: 2.5em;color: white; }
.flip3D > .front{
position:absolute;
-webkit-transform: perspective( 600px ) rotateY( 0deg );
transform: perspective( 600px ) rotateY( 0deg );
background:#FC0; width:440px; height:240px; border-radius: 7px;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transition: -webkit-transform .5s linear 0s;
transition: transform .5s linear 0s;
}
.flip3D > .back{
position:absolute;
-webkit-transform: perspective( 600px ) rotateY( 180deg );
transform: perspective( 600px ) rotateY( 180deg );
background: #80BFFF; width:440px; height:240px; border-radius: 7px;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transition: -webkit-transform .5s linear 0s;
transition: transform .5s linear 0s;
}
.flip3D:hover > .front{
-webkit-transform: perspective( 600px ) rotateY( -180deg );
transform: perspective( 600px ) rotateY( -180deg );
}
.flip3D:hover > .back{
-webkit-transform: perspective( 600px ) rotateY( 0deg );
transform: perspective( 600px ) rotateY( 0deg );
}
.flip3D-2{ width:440px; height:240px; margin:10px; float:left; font-size: 2.5em; }
.flip3D-2 > .front{
position:absolute;
-webkit-transform: perspective( 600px ) rotateY( 0deg );
transform: perspective( 600px ) rotateY( 0deg );
background:#FC0; width:440px; height:240px; border-radius: 7px;
background-size: cover;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transition: -webkit-transform .5s linear 0s;
transition: transform .5s linear 0s;
}
.flip3D-2 > .back{
position:absolute;
-webkit-transform: perspective( 600px ) rotateY( 180deg );
transform: perspective( 600px ) rotateY( 180deg );
background: #80BFFF; width:440px; height:240px; border-radius: 7px;
background-size: cover;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transition: -webkit-transform .5s linear 0s;
transition: transform .5s linear 0s;
}
.flip3D-2:hover > .front{
-webkit-transform: perspective( 600px ) rotateY( -180deg );
transform: perspective( 600px ) rotateY( -180deg );
}
.flip3D-2:hover > .back{
-webkit-transform: perspective( 600px ) rotateY( 0deg );
transform: perspective( 600px ) rotateY( 0deg );
}
.flip-container{height: 900px; width:100%; position: relative; padding-left:10%; margin-right:10%; margin-left:10%; float:center; border: 1px solid black;}
#story{height:1400px; width: 100%; border: 1px solid black;}
<!--#col{position: relative; float:right; height:95%; width: 40%; border: 1px solid black;}-->
#video{position: relative; float:right; padding:10px;margin: 2% 2% auto 2%; height:95%; width: 95%; border: ;}
.video-inner{position: relative; float:right; padding:10px;margin: 2% 2% auto 2%; height:95%; width: 90%; border:;}
.video-inner .iframe{ border: 1px solid black; padding:1%; background-color: #C9ccF3; margin: 2% 1% auto auto;}
.vid{font-size:44px; font-style:Bold;}
@media (max-width: 991px) {
.vid{
display: none;
}
#story{height:1600px; width: 50%; border: 1px solid black;}
@media (max-width: 767px) {
.vid{
display: none;
}
</style>
</head>
<body>
<div class="flip-container">
<div class="flip3D">
<div class="back" >Box 1 - This is were the answer goes.</div>
<div class="front" style="background-image: url(paintBrick.jpg)">Box 1 - This is where the riddle goes.</div>
</div>
<div class="flip3D">
<div class="back">Box 2 - Back</div>
<div class="front" style="background-image: url(paintBrick.jpg)">Box 2 - Front</div>
</div>
<div class="flip3D">
<div class="back" >Box 3 - Back</div>
<div class="front">Box 3 - Front</div>
</div>
<div class="flip3D-2">
<div class="back">Box 1 - Back</div>
<div class="front">Box 1 - Front</div>
</div>
<div class="flip3D-2">
<div class="back">Box 2 - Back</div>
<div class="front">Box 2 - Front</div>
</div>
<div class="flip3D-2">
<div class="back">Box 3 - Back</div>
<div class="front">Box 3 - Front</div>
</div>
</div>
<div id="story">
<div id="video">
<div class="video-inner">
<iframe class="iframe" width="300" height="175" src="//www.youtube.com/embed/xeBHshlQu88" frameborder="0" allowfullscreen></iframe>
<iframe class="iframe" width="300" height="175" src="//www.youtube.com/embed/JE-dV2Ls4wk" frameborder="0" allowfullscreen></iframe>
<iframe class="iframe" width="300" height="175" src="//www.youtube.com/embed/xFs8P_TrAVQ" frameborder="0" allowfullscreen></iframe>
<p class="vid">"The present is a gift, its time to make use of it!!!!!</p>
<iframe class="iframe" width="300" height="175" src="//www.youtube.com/embed/X7ymriMhoj0" frameborder="0" allowfullscreen></iframe>
<iframe class="iframe" width="300" height="175" src="//www.youtube.com/embed/GoGtaXt5f1w" frameborder="0" allowfullscreen></iframe>
<iframe class="iframe" width="300" height="175" src="//www.youtube.com/embed/1m9xWKfcZzg" frameborder="0" allowfullscreen></iframe>
<iframe class="iframe" width="300" height="175" src="//www.youtube.com/embed/kvuYsjsGiLM" frameborder="0" allowfullscreen></iframe>
<iframe class="iframe" width="300" height="175" src="//www.youtube.com/embed/9JrRQ1oQWQk" frameborder="0" allowfullscreen></iframe>
<iframe class="iframe" width="300" height="175" src="//www.youtube.com/embed/KdQHAeAnHmw" frameborder="0" allowfullscreen></iframe>
</div>
©Copyright 2015
</div>
</div>
</body>
</html>