You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: style.css
+79-5
Original file line number
Diff line number
Diff line change
@@ -84,9 +84,10 @@ blockquote {
84
84
#myVideo {
85
85
width:100%;
86
86
height:100%;
87
-
88
87
right:0;
89
88
bottom:0;
89
+
border:#000;
90
+
border-radius:10px;
90
91
}
91
92
92
93
/* Add some content at the bottom of the video/page */
@@ -100,33 +101,106 @@ blockquote {
100
101
101
102
/* Style the button used to pause/play the video */
102
103
#myBtn {
103
-
width:200px;
104
-
font-size:18px;
104
+
width:148px;
105
+
font-size:10px;
105
106
padding:10px;
106
107
border: none;
107
108
background:#000;
108
109
color:#fff;
109
110
cursor: pointer;
111
+
position: relative;
110
112
}
111
113
112
114
#myBtn:hover {
113
115
background:#ddd;
114
116
color: black;
117
+
115
118
}
116
119
117
120
#myMute {
118
-
width:200px;
119
-
font-size:18px;
121
+
width:148px;
122
+
font-size:10px;
120
123
padding:10px;
121
124
border: none;
122
125
background:#000;
123
126
color:#fff;
124
127
cursor: pointer;
128
+
position: relative;
125
129
}
126
130
127
131
#myMute:hover {
128
132
background:#ddd;
129
133
color: black;
130
134
}
131
135
136
+
.card {
137
+
/* Add shadows to create the "card" effect */
138
+
box-shadow:04px8px0rgba(0,0,0,0.2);
139
+
transition:0.3s;
140
+
}
141
+
142
+
/* On mouse-over, add a deeper shadow */
143
+
.card:hover {
144
+
box-shadow:08px16px0rgba(0,0,0,0.2);
145
+
}
146
+
147
+
/* Add some padding inside the card container */
148
+
.container {
149
+
padding:2px16px;
150
+
}
151
+
152
+
/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
153
+
.flip-card {
154
+
background-color: transparent;
155
+
width:300px;
156
+
height:200px;
157
+
perspective:1000px; /* Remove this if you don't want the 3D effect */
158
+
box-shadow:04px8px0rgba(0,0,0,0.2);
159
+
transition:0.3s;
160
+
border-radius:5px;
161
+
}
162
+
163
+
/* This container is needed to position the front and back side */
164
+
.flip-card-inner {
165
+
position: relative;
166
+
width:100%;
167
+
height:100%;
168
+
text-align: center;
169
+
transition: transform 0.8s;
170
+
transform-style: preserve-3d;
171
+
}
172
+
173
+
/* Do an horizontal flip when you move the mouse over the flip box container */
174
+
.flip-card:hover .flip-card-inner {
175
+
transform:rotateY(180deg);
176
+
}
177
+
178
+
/* Position the front and back side */
179
+
.flip-card-front, .flip-card-back {
180
+
position: absolute;
181
+
width:100%;
182
+
height:100%;
183
+
-webkit-backface-visibility: hidden; /* Safari */
184
+
backface-visibility: hidden;
185
+
}
186
+
187
+
/* Style the front side (fallback if image is missing) */
0 commit comments