Skip to content

Commit

Permalink
redesign
Browse files Browse the repository at this point in the history
  • Loading branch information
mbakhtawar2007 committed Feb 7, 2024
1 parent 920ddb9 commit 15da2c2
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 162 deletions.
75 changes: 25 additions & 50 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,60 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="./style.css" />
</head>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Netflix</title>
<link rel="stylesheet" href="style.css">
<style>

</style>
</head>
<body>

<body>
<div class="minicontainer1">
<div class="background">
<div class="container">

<div class="sec1">

<div class="opacity"></div>

<div class="text">
<div class="navbar">
<div class="navtext"><b>NETFLIX</b></div>
<div class="navbtn"><button>Sign In</button></div>
</div>

<center>
<div class="part1sec2">
<p class="part2-1-1"><b>Unlimited movies, TV shows, and more</b></p>
<p class="part2-1-2"><b>Watch anywhere. Cancel anytime.</b></p>

<p class="part2-2-1">
<b
>Ready to watch? Enter your email to create or restart your
membership.</b
>
</p>
<div class="part1input">
<p class="part2-2-2">
<input type="text" placeholder="Email Address" />
</p>
<p class="part2-2-3">
<button><b>Get Started ></b></button>
</p>
</div>
</div>
</center>
</div>
</div>

<div class="minicontainer2">
<div class="container2text">

<h2 style="font-size: 35pt">Enjoy on your TV</h2>
<p style="font-size: 20pt">
Watch on Smart TVs, Playstation, Xbox, Chromecast, Apple TV, Blu-ray
players, and more.
</p>
<div class="sec1text">
<p class="text-heading"><b>Unlimited movies, TV shows, and more</b></p>
<p class="text-line"><b>Watch anywhere. Cancel anytime.</b></p>
</div>
</div>

<div class="container2pic">
<img
src="https://assets.nflxext.com/ffe/siteui/acquisition/ourStory/fuji/desktop/tv.png"
alt=""
/>
</div>
</div>
</body>
</html>
</div>

</body>
</html>
176 changes: 64 additions & 112 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,118 +1,70 @@
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}

body {
background-color: rgb(56, 55, 55);
}

.minicontainer1 {
width: 100vw;
height: 700px;
/* background-color: black; */
}

.background {
height: 100%;
width: 100%;
background-image: url("https://assets.nflxext.com/ffe/siteui/vlv3/9134db96-10d6-4a64-a619-a21da22f8999/e1a226fa-a69c-4bb8-a028-57187cc2d894/PK-en-20240115-trifectadaily-perspective_alpha_website_small.jpg");
background-size: cover;
}

.navbar {
padding-top: 1%;
width: 100vw;
display: flex;
justify-content: center;
justify-content: space-around;
/* padding: 5%; */
/* align-content: center; */
/* background-color: white; */
}

.navtext {
color: rgb(229, 9, 20);
font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu,
sans-serif;
font-size: 20pt;
}

.navbtn button {
background-color: rgb(229, 9, 20);
padding: 3px;
border: none;
border-radius: 2px;
color: white;
}

.part1sec2 {
justify-content: center;
color: white;
font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu,
sans-serif;
}

.part2-1-1 {
font-size: 30pt;
/* color: white; */
margin-top: 10%;
}

.part2-1-2 {
margin-top: 1%;
}
*{
margin: 0%;
padding: 0%;
}
body{
background-color: gray;
}
/* .container{
} */
.sec1{
position: absolute;
width: 100vw;
height: 700px;
background-image: url("https://assets.nflxext.com/ffe/siteui/vlv3/4da5d2b1-1b22-498d-90c0-4d86701dffcc/2151f7fd-6774-492c-8821-99c3b23be48d/PK-en-20240129-popsignuptwoweeks-perspective_alpha_website_large.jpg");
/* background-size: cover; */
z-index: -2;

.part2-2-1 {
margin-top: 2%;
}
}
.opacity{
position: absolute;
width: 100%;
height: 100%;
background-color: black;
opacity: 0.5;
/* position: relative; */
z-index: -1;
}
.text{
width: 100%;
height: 100%;

z-index: 2;

z-index: 1;
}
.navbar {
padding-top: 1%;
width: 100vw;
display: flex;
justify-content: center;
justify-content: space-around;
/* padding: 5%; */
/* align-content: center; */
/* background-color: white; */
}

.part2-2-2 input {
height: 8vh;
width: 30vw;
margin-right: 8px;
padding-left: 5%;
outline: none;
}
.navtext {
color: rgb(229, 9, 20);
font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu,
sans-serif;
font-size: 20pt;
}

.part2-2-3 button {
height: 8vh;
width: 10vw;
background-color: rgb(229, 9, 20);
color: white;
border: none;
font-size: 10pt;
}
.navbtn button {
background-color: rgb(229, 9, 20);
padding: 4px;
border: none;
border-radius: 2px;
color: white;
}
.sec1text{
color: white;

.part1input {
display: flex;
/* border: 1px solid; */
justify-content: center;
margin-top: 1%;
}

.minicontainer2 {
/* height: 300px; */
width: 100vw;
margin-top: 1%;
padding: 72px 0px;
background-color: black;
color: white;
display: flex;
}
.container2text{
width: 50%;
/* background-color: red; */
padding: 0px 6px 0px 0px;
text-align: left;
color: rgb(255,255,255);
font-family: Netflix Sans,Helvetica Neue,Segoe UI,Roboto,Ubuntu,sans-serif;
}


.container2pic{
width: 50%;
/* height: 100px; */
/* background-color: yellow; */
}
.text-heading{
font-size: 40pt;
margin-top: 10%;
}

0 comments on commit 15da2c2

Please sign in to comment.