Skip to content

Netflix Home page #10

Description

@Rushikesh1163

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;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions