-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c58fe54
commit 36279ee
Showing
12 changed files
with
173 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Flipkart Header</title> | ||
<link rel="stylesheet" href="styles.css"> | ||
</head> | ||
<body> | ||
<header class="header"> | ||
<div class="container"> | ||
<div class="logo"> | ||
Flipkart | ||
</div> | ||
<div class="search-bar"> | ||
<input type="text" placeholder="Search for products, brands and more"> | ||
<button>Search</button> | ||
</div> | ||
<nav class="nav-links"> | ||
<a href="#">Login</a> | ||
<a href="#">More</a> | ||
<a href="#">Cart</a> | ||
</nav> | ||
</div> | ||
</header> | ||
<main class="main-content"> | ||
<div class="poster"> | ||
<img src="images/giftcard11.jpg" alt="Gift Card Poster"> | ||
</div> | ||
<div class="gift-cards"> | ||
<div class="gift-card"> | ||
<img src="images/zomato.webp" alt="Gift Card 2"> | ||
<p>$10</p> | ||
</div> | ||
<div class="gift-card"> | ||
<img src="images/apple.webp" alt="Gift Card 3"> | ||
<p>$20</p> | ||
</div> | ||
<div class="gift-card"> | ||
<img src="images/myntra.webp" alt="Gift Card 4"> | ||
<p>$30</p> | ||
</div> | ||
<div class="gift-card"> | ||
<img src="images/cinema.webp" alt="Gift Card 5"> | ||
<p>$40</p> | ||
</div> | ||
<div class="gift-card"> | ||
<img src="images/flipkart.webp" alt="Gift Card 6"> | ||
<p>$50</p> | ||
</div> | ||
<div class="gift-card"> | ||
<img src="images/tanishq.webp" alt="Gift Card 7"> | ||
<p>$60</p> | ||
</div> | ||
<div class="gift-card"> | ||
<img src="images/trends.webp" alt="Gift Card 8"> | ||
<p>$70</p> | ||
</div> | ||
<div class="gift-card"> | ||
<img src="images/uber.webp"Gift Card 9"> | ||
<p>$80</p> | ||
</div> | ||
<div class="gift-card"> | ||
<img src="images/blackberry.webp" alt="Gift Card 10"> | ||
<p>$90</p> | ||
</div> | ||
</div> | ||
</main> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
body { | ||
margin: 0; | ||
font-family: Arial, sans-serif; | ||
} | ||
|
||
.header { | ||
background-color: #2874f0; | ||
padding: 10px 0; | ||
color: white; | ||
} | ||
|
||
.container { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
width: 90%; | ||
margin: 0 auto; | ||
} | ||
|
||
.logo { | ||
font-size: 24px; | ||
font-weight: bold; | ||
} | ||
|
||
.search-bar { | ||
display: flex; | ||
flex: 1; | ||
max-width: 600px; | ||
margin: 0 20px; | ||
} | ||
|
||
.search-bar input { | ||
width: 100%; | ||
padding: 10px; | ||
border: none; | ||
border-radius: 2px 0 0 2px; | ||
} | ||
|
||
.search-bar button { | ||
padding: 10px; | ||
background-color: #ff5722; | ||
border: none; | ||
color: white; | ||
border-radius: 0 2px 2px 0; | ||
cursor: pointer; | ||
font-weight: bold; | ||
} | ||
|
||
.nav-links a { | ||
margin-left: 20px; | ||
color: white; | ||
text-decoration: none; | ||
font-weight: bold; | ||
} | ||
|
||
.nav-links a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.main-content { | ||
padding: 20px; | ||
text-align: center; | ||
} | ||
|
||
.poster img { | ||
width: 100%; | ||
height: auto; | ||
display: block; | ||
} | ||
|
||
.gift-cards { | ||
display: grid; | ||
grid-template-columns: repeat(3, 1fr); | ||
gap: 20px; | ||
margin-top: 20px; | ||
} | ||
|
||
.gift-card { | ||
border: 1px solid #ddd; | ||
padding: 10px; | ||
border-radius: 5px; | ||
text-align: center; | ||
background-color: #f9f9f9; | ||
transition: transform 0.3s ease, box-shadow 0.3s ease; | ||
} | ||
|
||
.gift-card img { | ||
max-width: 100%; | ||
height: auto; | ||
border-radius: 5px; | ||
} | ||
|
||
.gift-card p { | ||
margin-top: 10px; | ||
font-size: 18px; | ||
font-weight: bold; | ||
color: #333; | ||
} | ||
|
||
.gift-card:hover { | ||
transform: translateY(-10px); | ||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); | ||
} |