Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netflix Home page #10

Open
Rushikesh1163 opened this issue Jul 10, 2024 · 0 comments
Open

Netflix Home page #10

Rushikesh1163 opened this issue Jul 10, 2024 · 0 comments

Comments

@Rushikesh1163
Copy link

HTML

<title>Netflix Clone</title>
Netflix Logo

Watch Movies and TV Shows Online

Stream unlimited movies and TV shows on your phone, tablet, laptop, and TV.

Watch Now

Popular on Netflix

Movie 1
Movie 2
Movie 3
Movie 4
Movie 5
Movie 6

CSS
body {
font-family: Arial, sans-serif;
margin: 0;
background-color: #141414;
color: #fff;
}

header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #111;
}

.logo img {
height: 30px;
}

nav ul {
list-style: none;
display: flex;
gap: 20px;
margin: 0;
padding: 0;
}

nav a {
text-decoration: none;
color: #fff;
font-weight: bold;
}

.hero {
background-image: url('hero-background.jpg');
background-size: cover;
background-position: center;
height: 60vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 20px;
}

.hero-text h1 {
font-size: 3em;
margin: 0;
}

.hero-text p {
font-size: 1.5em;
margin: 20px 0;
}

.hero-text button {
padding: 10px 20px;
font-size: 1em;
background-color: #e50914;
border: none;
color: #fff;
cursor: pointer;
}

.movies {
padding: 20px;
}

.movies h2 {
font-size: 2em;
margin-bottom: 20px;
}

.movie-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 20px;
}

.movie img {
width: 100%;
border-radius: 5px;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant