Skip to content

Commit

Permalink
update collapsible at index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
oge-dev committed Jun 1, 2024
1 parent aae9423 commit b43a96c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
Binary file modified assets/img/website_medium.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ header {
url("../assets/img/website_medium.jpg");
background-position: center;
background-size: cover;
/* height: 100vh; */
width: 100%;
border-bottom: 8px solid #222;
}

header .header-wrapper {
header .header-content {
display: flex;
justify-content: space-between;
align-items: center;
Expand All @@ -42,7 +41,7 @@ header .header-wrapper {
height: 48px;
}

.header-wrapper .sign-btn {
.header-content .sign-btn {
text-decoration: none;
color: #ffffff;
background-color: #e50914;
Expand All @@ -57,7 +56,7 @@ header .header-wrapper {
border-radius: 0.25rem;
white-space: nowrap;
}
.header-wrapper .sign-btn:hover {
.header-content .sign-btn:hover {
background: #b8000a;
transition-duration: 250ms;
}
Expand All @@ -70,7 +69,7 @@ header .header-wrapper {
text-align: center;
}

.hero-section .content {
.hero-section .hero-content {
color: #ffffff;
padding: 200px;
}
Expand Down Expand Up @@ -125,7 +124,7 @@ header .header-wrapper {
font-weight: 400;
font-size: 16px;
}
.input-control .hero-btn {
.input-control .input-btn {
display: flex;
flex-direction: row;
justify-content: center;
Expand All @@ -142,13 +141,13 @@ header .header-wrapper {
height: 56px;
}

.hero-btn p {
.input-btn p {
font-size: 1.5rem;
font-weight: 500;
user-select: none;
padding-right: 0.5rem;
}
.hero-btn i {
.input-btn i {
font-size: 1.2rem;
}
/* Enjoy on your TV. styling */
Expand Down Expand Up @@ -301,7 +300,7 @@ header .header-wrapper {
z-index: 1;
width: 100%;
}
.fAQ-section h1 {
.fAQ-content h1 {
font-size: 3rem;
font-weight: 900;
margin: 0.83em 0;
Expand Down Expand Up @@ -441,7 +440,7 @@ footer .nig {
width: 224px;
height: 48px;
}
.input-control .hero-btn {
.input-control .input-btn {
height: 48px;
}
.hero-btn p {
Expand Down Expand Up @@ -475,6 +474,7 @@ footer .nig {

.watch-content {
max-width: 80%;
padding-left: 0;
}

.kid-content img {
Expand Down
9 changes: 4 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,16 @@
<body>
<!-- the header section -->
<header>
<div class="header-wrapper">
<div class="header-content">
<div class="logo">
<img src="./assets/img/netflix-logo.png" alt="netflix_logo" />
</div>
<a href="https://www.netflix.com/ng/login" class="sign-btn">Sign In</a>
</div>

<!-- Hero Section ========== -->
zzzz
<section class="hero-section">
<div class="content">
<div class="hero-content">
<div class="hero-text">
<h1>Unlimited movies, TV shows, and more.</h1>
<p>Watch anywhere. Cancel anytime.</p>
Expand All @@ -49,7 +48,7 @@ <h1>Unlimited movies, TV shows, and more.</h1>
placeholder="Email or mobile number"
required
/>
<button type="submit" class="hero-btn">
<button type="submit" class="input-btn">
<p>Get started</p>
<i class="fa-solid fa-chevron-right"></i>
</button>
Expand Down Expand Up @@ -249,7 +248,7 @@ <h1>Frequently Asked Questions</h1>
placeholder="Email or mobile number"
required
/>
<button type="submit" class="hero-btn">
<button type="submit" class="input-btn">
<p>Get started</p>
<i class="fa-solid fa-chevron-right"></i>
</button>
Expand Down

0 comments on commit b43a96c

Please sign in to comment.