Skip to content

Commit

Permalink
Wagwan
Browse files Browse the repository at this point in the history
  • Loading branch information
watchout254 authored Nov 11, 2023
1 parent 367fc24 commit 68f380b
Showing 1 changed file with 231 additions and 0 deletions.
231 changes: 231 additions & 0 deletions CSS/shop.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
#header {
display: flex;
align-items:center;
justify-content: space-between;
padding: 20px 80px;
background-color: #3a4886;
box-shadow: 0 5px 15px rgb(0, 0, 0, 0.06);
z-index:999;
position: sticky;
top: 0;
left: 0;

}

#navbar {
display: flex;
align-items: center;
justify-content: center;
}

#navbar li {
list-style: none;
padding: 0 20px;
position: relative;
}

#navbar li a {
text-decoration: none;
font-size: 16px;
font-weight:bolder;
color: rgb(75, 233, 13);
transition: 0.2s ease;
}

#navbar li a:hover,
#navbar li a.active {
color: yellow;
}

#navbar li a.active::after,
#navbar li a:hover::after {
content: "";
width: 30%;
height:2px;
background: yellow;
position: absolute;
bottom: -4px;
left: 20px;
}

.logo {
clip-path:circle();
}


.container {
left: 50%;
transform: translate(-50%);
position: absolute;
width: 250px;
}

.card {
border: 1px solid black;
width: max-content;
text-align: center;
display: inline-block;
margin: 5px;
}

.card img {
width: 300px;
padding: 5px;
}

.yellow{
font-weight: bold;
margin: 20px;
}

#addBtn{
color:whitesmoke;
background-color: cadetblue;
font-weight: bold;
border-radius: 30px;
margin: 20px;
}

#addBtn:hover {
box-shadow: 0 0 5px 5px rgb(222, 247, 1) inset;
}

.cart {
width: 250px;
float: right;
text-align: center;
border:1px solid black;
overflow-y: scroll;
height: auto;
}

.cartImg > img {
width: 200px;
}

section-p1 {
padding:40px 80px ;
}

#feature {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
padding: 0 20px;
}

#feature .fe-box {
width: 180px;
text-align: center;
padding: 25px 20px;
box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
border: 1px solid gray;
border-radius: 4px;
margin: 15px 0;
}

#feature .fe-box:hover {
box-shadow: 10px 10px 54px rgba(70, 62, 221, 0.1);
}

#feature .fe-box img {
margin-bottom: 10px;
}

#feature .fe-box h6 {
display: inline-block;
padding: 9px 8px 6px 8px;
line-height: 1;
border-radius: 4px;
color:black;
background-color: mistyrose;
font-weight: bold;
}

#feature .fe-box:nth-child(2) h6 {
background-color: lightblue;
}

#feature .fe-box:nth-child(3) h6 {
background-color:deeppink;
}

#feature .fe-box:nth-child(4) h6 {
background-color:greenyellow;
}

#feature .fe-box:nth-child(5) h6 {
background-color:khaki;
}

#feature .fe-box:nth-child(6) h6 {
background-color:peru;
}

#product1 .pro-container {
display: flex;
justify-content: space-between;
padding-top: 30px;
flex-wrap: wrap;
padding: 0 40px;
}

#product1 {
text-align: center;
}

#product1 .pro {
width: 20%;
min-width: 250px;
padding: 10px 12px;
border: 1px solid gainsboro;
border-radius: 25px;
cursor: pointer;
box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
margin: 15px 0;
transition: 0.02ms ease;
position: relative;
}

#product1 .pro .img1 {
width: 60%;
border-radius: 20px;
}


#product1 .pro:hover {
box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
}

#product1 .pro .des {
text-align: start;
padding: 10px 0;
}

#product1 .pro .des span {
color:darkred;
font-size: 15px;
}

#product1 .pro .des h5 {
padding-top: 7px;
color: black;
font-size: 14px;
}

#product1 .pro .des .star {
color: gold;
}

#product1 .pro .des i {
font-size: 10px;
}

#product1 .pro .des h4 {
padding: 7px;
color: black;
font-size: 15px;
font-weight: 700;
color:darkseagreen;
}

0 comments on commit 68f380b

Please sign in to comment.