-
Notifications
You must be signed in to change notification settings - Fork 287
/
before.html
50 lines (48 loc) · 1.31 KB
/
before.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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title></title>
<style>
.page {
margin: 0;
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 20px;
}
.video {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%;
background-color: #000000;
}
.video__embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
</style>
</head>
<body class="page">
<div class="video">
<iframe class="video__embed" width="512" height="288"
src="https://www.youtube.com/embed/neHA4MJwpnY"></iframe>
</div>
<div class="video">
<iframe class="video__embed" width="512" height="288"
src="https://www.youtube.com/embed/neHA4MJwpnY"></iframe>
</div>
<div class="video">
<iframe class="video__embed" width="512" height="288"
src="https://www.youtube.com/embed/neHA4MJwpnY"></iframe>
</div>
<div class="video">
<iframe class="video__embed" width="512" height="288"
src="https://www.youtube.com/embed/neHA4MJwpnY"></iframe>
</div>
</body>
</html>