Skip to content

Instantly share code, notes, and snippets.

@amru2
Created November 4, 2020 08:48
Show Gist options
  • Save amru2/4651da81d16ba1814cd0564965f0e7da to your computer and use it in GitHub Desktop.
Save amru2/4651da81d16ba1814cd0564965f0e7da to your computer and use it in GitHub Desktop.
NETFLIX // source https://jsbin.com/fowiluw
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>NETFLIX</title>
<style id="jsbin-css">
hr{
height:5px;
background-color:lightgrey;
width:100%;
}
body{
background-color:black;
background-image:url(https://store-images.s-microsoft.com/image/apps.55787.9007199266246365.687a10a8-4c4a-4a47-8ec5-a95f70d8852d.12c2c5b7-0d97-4635-9b57-8a35da0f4c79?mode=scale&q=90&h=1080&w=1920);
background-repeat:no-repeat;
background-size:1400px 450px;
width:100%;
overflow-x:hidden;
}
body{
background-color:black;
color:white;
}
p{
text-align:center;
}
p{
font-weight:bold;
font-size:45px;
}
#w{
font-family:arial;
font-size:20px;
}
#ww{
font-family:arial;
font-size:15px;
position:relative;
bottom:40px;
}
h1{
font-family:sans-serif;
color:red;
position:relative;
left:25px;
}
#z{
font-family:arial;
color:white;
background-color:red;
border-style:none;
cursor: pointer;
display: inline-block;
padding: 8px 16px;
position:absolute;
right:25px;top:20px;
}
#b{
font-family:arial;
color:white;
background-color:red;
border-style:none;
cursor: pointer;
display: inline-block;
padding: 20px 22px;
width:200px;
}
#em{
border-style:none;
cursor: type;
display: inline-block;
padding: 20px 22px;
text-align:left;
font-family:arial;
color:grey;
width:300px;
}
#bbb{
position:relative;
text-align:center;
height:100px;
width:1000px;
position:relative;
right:-160px;
}
#tv{
text-align:left;
position:relative;
top:90px;right:-120px;
}
#tvs{
font-family:arial;
font-size:20px;
width:500px;
position:relative;
top:70px;
right:-50px;
}
#tvv{
position:relative;
left:530px;
bottom:205px;
}
#logo{
position:relative;
bottom:355px;
left:-5px;
width:415px;
height:200px;
}
#line{
position:relative;
bottom:200px;
}
#st{
position:relative;
bottom:208px;
}
#d{
position:relative;
left:570px;
bottom:610px;
width:500px;
}
#dd{
font-family:arial;
font-size:20px;
position:relative;
left:570px;
bottom:620px;
width:500px;
}
#line2{
position:relative;
bottom:490px;
}
#nc{
color:red;
font-family:cambria;
font-size:50px;
position:relative;
left:570px;
bottom:600px;
width:500px;
height:5px;
}
#we{
text-align:left;
position:relative;
right:px;
bottom:400px;
left:145px;
}
#stre{
font-family:arial;
font-size:20px;
width:500px;
position:relative;
right:-60px;
bottom:420px;
}
#sac{
position:relative;
left:550px;
bottom:650px;
}
#line3{
position:relative;
bottom:650px;
}
#faq{
text-align:center;
position:relative;
bottom:650px;
}
#b1{
text-align:center;
position:relative;
bottom:650px;
}
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 18px;
width: 50%;
text-align: left;
border: none;
outline: none;
transition: 0.4s;
position:relative;
bottom:650px;
right:-320px;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
background-color: #ccc;
}
/* Style the accordion panel. Note: hidden by default */
.panel {
padding: 0 18px;
background-color: darkgrey;
display: none;
overflow: hidden;
color:white;
position:relative;
bottom:650px;
right:-320px;
width:50%;
}
.accordion:after{
content:'\02795';
font-size:13px;
color:#777;
float:right;
margin-left:5px;
}
.active:after{
content:"\2796";
}
#acb{
font-size:20px;
font-family:arial;
}
#line4{
position:relative;
bottom:600px;
}
#second{
position:relative;
text-align:center;
height:100px;
width:1000px;
position:relative;
right:-160px;
bottom:600px;
}
#sr{
position:relative;
font-size:15px;
font-family:arial;
}
#last{
position:relative;
bottom:600px;
}
#qq{
font-size:15px;
position:relative;
bottom:550px;
//right:300px;
cursor:pointer;
font-family:arial;
text-align:left;
color:grey;
}
#row{
font-size:15px;
font-family:arial;
position:relative;
bottom:500px;
right:-250px;
text-align:left;
cursor:pointer;
color:grey;
}
#roww{
font-size:15px;
font-family:arial;
cursor:pointer;
text-align:left;
position:relative;
bottom:629px;
right:-500px;
color:grey;
}
#rowww{
font-size:15px;
font-family:arial;
cursor:pointer;
text-align:left;
position:relative;
bottom:758px;
right:-750px;
color:grey;
}
#rz{
font-size:15px;
font-family:arial;
cursor:pointer;
text-align:left;
position:relative;
bottom:886px;
right:-1000px;
color:grey;
}
#ni{
font-size:15px;
font-family:arial;
cursor:pointer;
text-align:right;
position:relative;
left:-10px;
bottom:800px;
color:grey;
}
</style>
</head>
<body>
<h1>NETFLIX</h1>
<button id="z" type="button">Sign In</button>
<p id="u">Unlimited movies, TV<br>
shows and more.</p>
<p id="w">Watch anywhere. Cancel anytime.</p>
<div id="bbb">
<input id="em" value="Email address"><button id="b" type="button">GET STARTED ></button>
</div>
<p id="ww">Ready to watch? Enter your email to create or restart your membership.</p>
<hr>
<p id="tv">Enjoy on your TV.</p>
<p id="tvs">Watch on smart TVs, PlayStation, Xbox, Chromecast, Apple TV, Blu-ray players and more.
</p>
<img id="tvv" src="https://assets.nflxext.com/ffe/siteui/acquisition/ourStory/fuji/desktop/tv.png">
<img id="logo" src="https://media.tenor.com/images/8b27b9071617e0dfc275efdc79e3c51a/tenor.gif">
<hr id="line">
<img id="st" src="https://assets.nflxext.com/ffe/siteui/acquisition/ourStory/fuji/desktop/mobile-0819.jpg">
<p id="d">Download your shows to watch offline.</p>
<p id="dd">Save your favourites easily and always have something to watch.</p>
<p id="nc">NETFLIX AND CHILL</p>
<hr id="line2">
<p id="we">Watch everywhere.</p>
<p id="stre">Stream unlimited movies and TV shows on your phone, tablet, laptop, and TV.
</p>
<img id="sac" src="https://assets.nflxext.com/ffe/siteui/acquisition/ourStory/fuji/desktop/device-pile-in.png">
<hr id="line3">
<p id="faq">Frequently Asked Questions</p>
<button class="accordion">
What is Netflix?
</button>
<div class="panel">
<p id="acb">Netflix is a streaming service that offers a wide variety of award-winning TV shows, movies, anime, documentaries and more – on thousands of internet-connected devices.</p>
<br><p id="acb">You can watch as much as you want, whenever you want, without a single ad – all for one low monthly price. There's always something new to discover, and new TV shows and movies are added every week!</p>
</div>
<button class="accordion">
How much does Netflix cost?
</button>
<div class="panel">
<p id="acb">Watch Netflix on your smartphone, tablet, Smart TV, laptop, or streaming device, all for one fixed monthly fee. Plans range from ₹ 199 to ₹ 799 a month. No extra costs, no contracts.
</p></div>
<button class="accordion">
Where can I watch?
</button>
<div class="panel">
<p id="acb">Watch anywhere, anytime, on an unlimited number of devices. Sign in with your Netflix account to watch instantly on the web at netflix.com from your personal computer or on any internet-connected device that offers the Netflix app, including smart TVs, smartphones, tablets, streaming media players and game consoles.</p>
<br><p id="acb">You can also download your favourite shows with the iOS, Android, or Windows 10 app. Use downloads to watch while you're on the go and without an internet connection. Take Netflix with you anywhere.</p>
</div>
<button class="accordion">
How do I cancel?
</button>
<div class="panel">
<p id="acb">Netflix is flexible. There are no annoying contracts and no commitments. You can easily cancel your account online in two clicks. There are no cancellation fees – start or stop your account anytime.</p>
</div>
<button class="accordion">
What can I watch on Netflix?
</button>
<div class="panel">
<p id="acb">Netflix has an extensive library of feature films, documentaries, TV shows, anime, award-winning Netflix originals, and more. Watch as much as you want, anytime you want.</p></div>
</div>
<div id="second">
<input id="em" value="Email address"><button id="b" type="button">GET STARTED ></button>
<p id="sr">Ready to watch? Enter your email to create or restart your membership.</p>
</div>
<hr id="last">
<footer>
<p id="qq">Questions? Call 000-800-040-1843</p>
<div>
<p id="row">FAQ</p><p id="row">Investor Relations</p><p id="row">Privacy</p><p id="row">Speed Test</p>
</div>
<div>
<p id="roww">Help Centre</p><p id="roww">Jobs</p><p id="roww">Cookies Preferences</p><p id="roww">Legal Notices</p>
</div>
<div>
<p id="rowww">Account</p><p id="rowww">Ways to Watch</p><p id="rowww">Corporate Information</p><p id="rowww">Netflix Originals</p>
</div>
<div>
<p id="rz">Media Centre</p><p id="rz">Terms of Use</p><p id="rz">Contact Us</p>
</div>
<p id="ni">Netflix India</p>
</footer>
<script id="jsbin-javascript">
var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
/* Toggle between adding and removing the "active" class,
to highlight the button that controls the panel */
this.classList.toggle("active");
/* Toggle between hiding and showing the active panel */
var panel = this.nextElementSibling;
if (panel.style.display === "block") {
panel.style.display = "none";
} else {
panel.style.display = "block";
}
});
}
</script>
<script id="jsbin-source-css" type="text/css">hr{
height:5px;
background-color:lightgrey;
width:100%;
}
body{
background-color:black;
background-image:url(https://store-images.s-microsoft.com/image/apps.55787.9007199266246365.687a10a8-4c4a-4a47-8ec5-a95f70d8852d.12c2c5b7-0d97-4635-9b57-8a35da0f4c79?mode=scale&q=90&h=1080&w=1920);
background-repeat:no-repeat;
background-size:1400px 450px;
width:100%;
overflow-x:hidden;
}
body{
background-color:black;
color:white;
}
p{
text-align:center;
}
p{
font-weight:bold;
font-size:45px;
}
#w{
font-family:arial;
font-size:20px;
}
#ww{
font-family:arial;
font-size:15px;
position:relative;
bottom:40px;
}
h1{
font-family:sans-serif;
color:red;
position:relative;
left:25px;
}
#z{
font-family:arial;
color:white;
background-color:red;
border-style:none;
cursor: pointer;
display: inline-block;
padding: 8px 16px;
position:absolute;
right:25px;top:20px;
}
#b{
font-family:arial;
color:white;
background-color:red;
border-style:none;
cursor: pointer;
display: inline-block;
padding: 20px 22px;
width:200px;
}
#em{
border-style:none;
cursor: type;
display: inline-block;
padding: 20px 22px;
text-align:left;
font-family:arial;
color:grey;
width:300px;
}
#bbb{
position:relative;
text-align:center;
height:100px;
width:1000px;
position:relative;
right:-160px;
}
#tv{
text-align:left;
position:relative;
top:90px;right:-120px;
}
#tvs{
font-family:arial;
font-size:20px;
width:500px;
position:relative;
top:70px;
right:-50px;
}
#tvv{
position:relative;
left:530px;
bottom:205px;
}
#logo{
position:relative;
bottom:355px;
left:-5px;
width:415px;
height:200px;
}
#line{
position:relative;
bottom:200px;
}
#st{
position:relative;
bottom:208px;
}
#d{
position:relative;
left:570px;
bottom:610px;
width:500px;
}
#dd{
font-family:arial;
font-size:20px;
position:relative;
left:570px;
bottom:620px;
width:500px;
}
#line2{
position:relative;
bottom:490px;
}
#nc{
color:red;
font-family:cambria;
font-size:50px;
position:relative;
left:570px;
bottom:600px;
width:500px;
height:5px;
}
#we{
text-align:left;
position:relative;
right:px;
bottom:400px;
left:145px;
}
#stre{
font-family:arial;
font-size:20px;
width:500px;
position:relative;
right:-60px;
bottom:420px;
}
#sac{
position:relative;
left:550px;
bottom:650px;
}
#line3{
position:relative;
bottom:650px;
}
#faq{
text-align:center;
position:relative;
bottom:650px;
}
#b1{
text-align:center;
position:relative;
bottom:650px;
}
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 18px;
width: 50%;
text-align: left;
border: none;
outline: none;
transition: 0.4s;
position:relative;
bottom:650px;
right:-320px;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
background-color: #ccc;
}
/* Style the accordion panel. Note: hidden by default */
.panel {
padding: 0 18px;
background-color: darkgrey;
display: none;
overflow: hidden;
color:white;
position:relative;
bottom:650px;
right:-320px;
width:50%;
}
.accordion:after{
content:'\02795';
font-size:13px;
color:#777;
float:right;
margin-left:5px;
}
.active:after{
content:"\2796";
}
#acb{
font-size:20px;
font-family:arial;
}
#line4{
position:relative;
bottom:600px;
}
#second{
position:relative;
text-align:center;
height:100px;
width:1000px;
position:relative;
right:-160px;
bottom:600px;
}
#sr{
position:relative;
font-size:15px;
font-family:arial;
}
#last{
position:relative;
bottom:600px;
}
#qq{
font-size:15px;
position:relative;
bottom:550px;
//right:300px;
cursor:pointer;
font-family:arial;
text-align:left;
color:grey;
}
#row{
font-size:15px;
font-family:arial;
position:relative;
bottom:500px;
right:-250px;
text-align:left;
cursor:pointer;
color:grey;
}
#roww{
font-size:15px;
font-family:arial;
cursor:pointer;
text-align:left;
position:relative;
bottom:629px;
right:-500px;
color:grey;
}
#rowww{
font-size:15px;
font-family:arial;
cursor:pointer;
text-align:left;
position:relative;
bottom:758px;
right:-750px;
color:grey;
}
#rz{
font-size:15px;
font-family:arial;
cursor:pointer;
text-align:left;
position:relative;
bottom:886px;
right:-1000px;
color:grey;
}
#ni{
font-size:15px;
font-family:arial;
cursor:pointer;
text-align:right;
position:relative;
left:-10px;
bottom:800px;
color:grey;
}
</script>
<script id="jsbin-source-javascript" type="text/javascript">var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
/* Toggle between adding and removing the "active" class,
to highlight the button that controls the panel */
this.classList.toggle("active");
/* Toggle between hiding and showing the active panel */
var panel = this.nextElementSibling;
if (panel.style.display === "block") {
panel.style.display = "none";
} else {
panel.style.display = "block";
}
});
}</script></body>
</html>
hr{
height:5px;
background-color:lightgrey;
width:100%;
}
body{
background-color:black;
background-image:url(https://store-images.s-microsoft.com/image/apps.55787.9007199266246365.687a10a8-4c4a-4a47-8ec5-a95f70d8852d.12c2c5b7-0d97-4635-9b57-8a35da0f4c79?mode=scale&q=90&h=1080&w=1920);
background-repeat:no-repeat;
background-size:1400px 450px;
width:100%;
overflow-x:hidden;
}
body{
background-color:black;
color:white;
}
p{
text-align:center;
}
p{
font-weight:bold;
font-size:45px;
}
#w{
font-family:arial;
font-size:20px;
}
#ww{
font-family:arial;
font-size:15px;
position:relative;
bottom:40px;
}
h1{
font-family:sans-serif;
color:red;
position:relative;
left:25px;
}
#z{
font-family:arial;
color:white;
background-color:red;
border-style:none;
cursor: pointer;
display: inline-block;
padding: 8px 16px;
position:absolute;
right:25px;top:20px;
}
#b{
font-family:arial;
color:white;
background-color:red;
border-style:none;
cursor: pointer;
display: inline-block;
padding: 20px 22px;
width:200px;
}
#em{
border-style:none;
cursor: type;
display: inline-block;
padding: 20px 22px;
text-align:left;
font-family:arial;
color:grey;
width:300px;
}
#bbb{
position:relative;
text-align:center;
height:100px;
width:1000px;
position:relative;
right:-160px;
}
#tv{
text-align:left;
position:relative;
top:90px;right:-120px;
}
#tvs{
font-family:arial;
font-size:20px;
width:500px;
position:relative;
top:70px;
right:-50px;
}
#tvv{
position:relative;
left:530px;
bottom:205px;
}
#logo{
position:relative;
bottom:355px;
left:-5px;
width:415px;
height:200px;
}
#line{
position:relative;
bottom:200px;
}
#st{
position:relative;
bottom:208px;
}
#d{
position:relative;
left:570px;
bottom:610px;
width:500px;
}
#dd{
font-family:arial;
font-size:20px;
position:relative;
left:570px;
bottom:620px;
width:500px;
}
#line2{
position:relative;
bottom:490px;
}
#nc{
color:red;
font-family:cambria;
font-size:50px;
position:relative;
left:570px;
bottom:600px;
width:500px;
height:5px;
}
#we{
text-align:left;
position:relative;
right:px;
bottom:400px;
left:145px;
}
#stre{
font-family:arial;
font-size:20px;
width:500px;
position:relative;
right:-60px;
bottom:420px;
}
#sac{
position:relative;
left:550px;
bottom:650px;
}
#line3{
position:relative;
bottom:650px;
}
#faq{
text-align:center;
position:relative;
bottom:650px;
}
#b1{
text-align:center;
position:relative;
bottom:650px;
}
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 18px;
width: 50%;
text-align: left;
border: none;
outline: none;
transition: 0.4s;
position:relative;
bottom:650px;
right:-320px;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
background-color: #ccc;
}
/* Style the accordion panel. Note: hidden by default */
.panel {
padding: 0 18px;
background-color: darkgrey;
display: none;
overflow: hidden;
color:white;
position:relative;
bottom:650px;
right:-320px;
width:50%;
}
.accordion:after{
content:'\02795';
font-size:13px;
color:#777;
float:right;
margin-left:5px;
}
.active:after{
content:"\2796";
}
#acb{
font-size:20px;
font-family:arial;
}
#line4{
position:relative;
bottom:600px;
}
#second{
position:relative;
text-align:center;
height:100px;
width:1000px;
position:relative;
right:-160px;
bottom:600px;
}
#sr{
position:relative;
font-size:15px;
font-family:arial;
}
#last{
position:relative;
bottom:600px;
}
#qq{
font-size:15px;
position:relative;
bottom:550px;
//right:300px;
cursor:pointer;
font-family:arial;
text-align:left;
color:grey;
}
#row{
font-size:15px;
font-family:arial;
position:relative;
bottom:500px;
right:-250px;
text-align:left;
cursor:pointer;
color:grey;
}
#roww{
font-size:15px;
font-family:arial;
cursor:pointer;
text-align:left;
position:relative;
bottom:629px;
right:-500px;
color:grey;
}
#rowww{
font-size:15px;
font-family:arial;
cursor:pointer;
text-align:left;
position:relative;
bottom:758px;
right:-750px;
color:grey;
}
#rz{
font-size:15px;
font-family:arial;
cursor:pointer;
text-align:left;
position:relative;
bottom:886px;
right:-1000px;
color:grey;
}
#ni{
font-size:15px;
font-family:arial;
cursor:pointer;
text-align:right;
position:relative;
left:-10px;
bottom:800px;
color:grey;
}
var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
/* Toggle between adding and removing the "active" class,
to highlight the button that controls the panel */
this.classList.toggle("active");
/* Toggle between hiding and showing the active panel */
var panel = this.nextElementSibling;
if (panel.style.display === "block") {
panel.style.display = "none";
} else {
panel.style.display = "block";
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment