Skip to content

Commit

Permalink
Merge pull request #69 from Sunnyy001/main
Browse files Browse the repository at this point in the history
changed the position of TOTAL, increased the size of value
  • Loading branch information
yash19sinha authored Oct 12, 2023
2 parents 5b89533 + 8d1d85e commit fb89e4f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 10 additions & 6 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -521,21 +521,25 @@ p{
}

.cart-total {
text-align: end;
margin-top: 10px;
margin-right: 10px;
margin-top: 1.5rem;
margin-right: 10px;
text-align: start;
}

.cart-total-title {
font-weight: bold;
font-size: 1.5em;
color: black;
margin-right: 20px;

}

.cart-total-price {
color: #333;
font-size: 1.1em;
color: black;
font-size: 1.5rem;
margin-right: 2rem;
position: relative;
top: -2rem;

}

.btn-purchase {
Expand Down
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,8 @@ <h2 class="section-header">CART</h2>
</div>
<div class="cart-total">
<strong class="cart-total-title">Total</strong>
</div>
<div class="cart-total-main-price">
<span class="cart-total-price">₹698</span>
</div>

Expand Down

0 comments on commit fb89e4f

Please sign in to comment.