Skip to content

Commit

Permalink
Cart Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaamostafa74 committed Nov 10, 2024
1 parent 589a93e commit cc991ca
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
21 changes: 20 additions & 1 deletion assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ ul {
}

.product-box .content p {
color: #808080;
color: #000000;
font-size: 12px;
font-weight: 500;
/* margin-top: 10px; */
Expand Down Expand Up @@ -1888,6 +1888,25 @@ ul {
/* margin-top: 40px; */
}

.navbar li a {
position: relative;
}

.navbar li a span {
position: absolute;
top: -15px;
left: 18px;
background-color: white;
padding: 5px;
border-radius: 50%;
width: 22px;
height: 22px;
display: flex;
align-items: center;
justify-content: center;
color: black;
}

.navbar .content .navbar-nave li img {
height: 36px;
}
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
<li>
<a href="#">
<img src="./assets/images/proicons_cart.svg" alt="Cart">
<span>15</span>
</a>
</li>

Expand Down

0 comments on commit cc991ca

Please sign in to comment.