Khushi 1
Khushi 1
Khushi 1
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My website2</title>
</head>
<body>
<header>
<nav class="navbar">
<!--for logo-->
<div class="nav-logo">
<div class="logo">
</div>
</div>
<div class="address-box">
<div class="location">
<p class="second-text">India</p>
</div>
</div>
<!--third div-->
<div class="search-box">
<option value="">All</option>
<option value="">All</option>
<option value="">All</option>
</select>
<div class="search-icon">
</div>
</div>
<!--4th div-->
<div class="Sign-in">
</div>
<!--fifth div-->
<div class="return-orders">
<p class="second-para">Orders</p>
</div>
<!--sixth div-->
<div class="cart-section">
</div>
</nav>
<div class="panel-box">
<div class="panel-all">
</div>
<div class="panel-option">
<p>Today's deals</p>
<p> Customer</p>
<p>Service</p>
<p>Registry</p>
<p>Gift</p>
<p>Card</p>
<p>Sell</p>
</div>
<div class="panel-deals">
</div>
</div>
</header>
<div class="hero-section">
<div class="hero-msg">
<p> You are on amazon.com. You can also shop on amazon india for millions product with fast local
delivery.
</p>
</div>
</div>
<div class="shop-section">
<div class="box">
<div class="box-content">
<h2>Computers</h2>
</div>
</div>
<div class="box">
<div class="box-content">
<h2>Computers</h2>
</div>
</div>
<div class="box">
<div class="box-content">
<h2>Computers</h2>
</div>
</div>
<div class="box">
<div class="box-content">
<h2>Computers</h2>
</div>
</div>
<div class="box">
<div class="box-content">
<h2>Computers</h2>
</div>
</div>
<div class="box">
<div class="box-content">
<h2>Computers</h2>
</div>
</div>
<div class="box">
<div class="box-content">
<h2>Computers</h2>
</div>
</div>
<div class="box">
<div class="box-content">
<h2>Computers </h2>
</div>
</div>
</div>
</body>
<footer>
Back to top
</div>
<div class="foot-panel2">
<ul>
<a>Careers</a>
<a>Block</a>
<a>About Amazon</a>
<a>Invester Relations</a>
<a>Amazon Devices</a>
<a>Amazon Sciences</a>
</ul>
<ul>
<a>Become an Affiliate</a>
<ul>
<a> investor-relations</a>
<a>Amazon devices</a>
</ul>
<ul>
<a> investor-relations</a>
<a>Amazon devices</a>
</ul>
</div>
<div class="foot-panel3">
<div class="logo">
</div>
</div>
<div class="foot-panel4">
<div class="Pages">
<a>Condition of use</a>
<a>Privacy notice</a>
</div>
<div class="Copy-write">
©
</div>
</div>
</footer>
</html>
CSS Code File:
*{
margin: 0;
padding: 0;
box-sizing: border-box;
html,body{ height
: 100%;
width: 100%;
.navbar{ height:
60px; width:
auto;
background-color: black;
color: white;
align-items: center;
justify-content: space-evenly;
display: flex;
cursor: pointer;
.nav-
logo{ height:
60px;
width:100px;
.logo{
background-image:
url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQ4AAACUCAMAAABV5TcGAAAA8
FBMVEUODg7///8OIi4AAAD4mB0QJTERJDEUKTUOEBERHygODQoAAA0PFBgOFxz5+fnR0dE3Nz
e3t7fLy8uNjY2qqqqBgYEoKCgJHitJSUmampqipqkdIS');
height: 50px;
width: 100px;
background-size: cover;
.first-text{
font-size: 0.85rem;
color:#cccccc;
margin-left:15px;
}
.location{ color:
#fff; display:
flex;
align-items: center;
justify-content: space-evenly;
}
.second-text{ margin-
right:3px;
.search-
box{ height:
400px; ; width:
620px; display:
flex;
align-items: center;
justify-content:space-evenly;
.search-
select{ height
: 40px; width:
60px;
background-color:#ecdfdffb;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
border: none;
.search-
input{ height:
40px;
width:500%;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
.search-
input:hover{ border:2px
solid yellow;
.search-
icon{ height:40
px; width:
100px;
background-color: yellow;
border-radius: 4px;
font-size:1.5rem;
padding: 10px;
font-weight:900;
color: #000;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.first-para{ color:
#cccccc;
font-size: small;
.second-para{ color:
white; font-
weight: 800;
}
.cart-
selection{ font-
size:1rem;
color:white;
.panel-
box{ height:
60px; width:
auto;
background-color: #222f3d;
display: flex;
align-items:center;
justify-content: space-evenly;
color: white;
cursor: pointer;
.panel-option
p{ display:
inline; margin:
15px;
.panel-option
solid white ;
}
/*.panel-all{
margin-right: 500px;
padding:20px;
margin:100px;
width:100px;
.panel-
option{ display:
flex;
align-items: center;
justify-content: space-evenly;
}*/
.panel-option{
font-size: 0.85rem;
width:70%;
}
.panel-deals{
font-size: 0.9rem;
font-weight: 700;
.hero-
section{ height
: 300px; width:
auto;
background-image: url("./img1_hrero.jpg");
background-size:cover;
display:flex;
align-items: flex-end;
justify-content: center;
}
.hero-
msg{ height:
40px; width:
80%;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
margin-bottom:25px;
font-weight:500;
font-size: 14px;
.hero-msg
a{ color:#007185;
cursor: pointer;
.shop-section{
flex-wrap: wrap;
display: flex;
justify-content:space-evenly;
background-color:#fff;
.box{
height: 400px;
width: 23%;
background-color:white;
margin-top:15px;
.box-
content{ height:
300px;
background-size:cover;
margin-bottom:1rem;
.box-
img{ height:
300px;
background-size:cover;
margin-top:1rem;
margin-bottom: 1rem;
}
.box-contnt
p{ color:#00718
5;
cursor:pointer;
.footer{
margin-top: 15px;
.foot-panel{
background-color: #37475a;
color: white;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
font-size: 0.85rem;
cursor: pointer;
}
.foot-panel2{
background-color: #222f3d;
color: white;
height: 500px;
display: flex;
justify-content: space-evenly;
ul{
margin-top: 20px;
ul a{
display: block;
font-size: 0.85rem;
margin-top: 10px;
color: #dddddd;
}
.foot-panel3{
height: 70px;
display: flex;
justify-content: center;
.logo{
background-image:
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARMAAAC3CAMAAAAGjUrGAAAA
1VBMVEUjLz//////mQD/mwD/nQAAFy0dKjsTIzYKHTIAJkEAFSzKzM8AECmqrbIZJzkgLD3x8vOHi
5Lf4OJcY21qcHhIUV0tOEbQ0tQAGi8AJEEdLU");
.foot-panel4{
background-color: #0f1111;
color: white;
height: 90px;
font-size:0.8rem;
text-align: center;
.pages{
padding-top:25px ;
.copyright{
padding-top: 5px;
}
Output: