-
Notifications
You must be signed in to change notification settings - Fork 0
/
netflix.html
73 lines (65 loc) · 2.65 KB
/
netflix.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Netflix | Landing page UI Design</title>
<link rel="icon" type="image/x-icon" href="netflix-logo-png-2616.png">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/fontawesome.min.css"
integrity="undefined" crossorigin="anonymous">
<link rel="stylesheet" href="netflix.css">
</head>
<body>
<header>
<a href="#" class="logo"><img src="logo.jpeg"></a>
<ul class="navbar">
<li><a href="#">Home</a></li>
<li><a href="#">TV Shows</a></li>
<li><a href="#">Movies</a></li>
<li><a href="#">Latest</a></li>
<li><a href="#">My List</a></li>
</ul>
<div class="search">
<input type="text" placeholder="Search">
<i class="fa fa-search" aria-hidden="true"></i>
</div>
</header>
<div class="banner">
<img src="bgimage.jpeg" class="bg">
<div class="content">
<img src="name.png" class="movieTital">
<h4>
<span>2021</span>
<span><i>18+</i></span>
<span>1h 55min</span>
<span>Action</span>
</h4>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quaerat ratione et ipsa. Doloribus, asperiores! Corporis,
fuga minus quos pariatur consequatur vero, corrupti consectetur molestiae in, sint fugit voluptas explicabo quae.</p>
<div class="buttons">
<a href="#"><i class="fa fa-play" aria-hidden="true"></i> Play</a>
<a href="#"><i class="fa fa-plus" aria-hidden="true"></i> My List</a>
</div>
<div class="keshav">
<h4>Designed by Keshav Kumar</h4>
<a href="https://www.instagram.com/officialkeshavkumar/">Instagram profile</a>
</div>
</div>
<a class="play" onclick="toggleVideo();"><img class="play-btn" src="play.png">Watch Trailer</a>
</div>
<div class="trailer">
<video src="Disney's Mulan _ Official Trailer.mp4" controls="true"></video>
<img src="close.png" class="close" onclick="toggleVideo();">
</div>
<script>
function toggleVideo(){
const trailer = document.querySelector('.trailer');
const video = document.querySelector('video');
trailer.classList.toggle('active')
video.currentTime = 0;
video.pause();
}
</script>
</body>
</html>