Skip to content

Commit

Permalink
Merge pull request #516 from Adarsh-Chaubey03/main
Browse files Browse the repository at this point in the history
Aligned all `images` and `cards` for all pages
  • Loading branch information
Tejashri-Taral authored Oct 18, 2024
2 parents b257589 + a72a2d8 commit 6e6a2fe
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Style/bags.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ h1 {
/* Bag Image */
.bag-image img {
width: 100%;
aspect-ratio: 2/2;
object-fit: cover;
height: auto;
transition: transform 0.3s ease;
}
Expand Down
3 changes: 2 additions & 1 deletion Style/sandals.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ h1 {
/* Sandal Image */
.sandal-image img {
width: 100%;
height: auto;
aspect-ratio: 2/2.5;
object-fit: cover;
display: block;
border-bottom: 1px solid #e0e0e0;
}
Expand Down
3 changes: 2 additions & 1 deletion Style/sunglasses.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ h1 {
/* Sunglasses Image */
.sunglasses-image img {
width: 100%;
height: auto;
aspect-ratio: 1/1;
object-fit: cover;
display: block;
border-bottom: 1px solid #ddd;
}
Expand Down
7 changes: 6 additions & 1 deletion child.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@
transform: translateY(-10px);
background-color: #c5bebd;
}


.testimonal__card img{
width: 100%;
aspect-ratio: 2/2.5;
object-fit: cover;
}


/* Testimonial Title */
Expand Down
2 changes: 1 addition & 1 deletion products/sandals.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h2>Sport Sandals</h2>
<h2>Wedge Heel Sandals</h2>
<p class="price">$90.00</p>
<p class="rating">Rating: ⭐⭐⭐⭐ (4.6)</p>
<p class="description">Elegant wedge heel for a stylish look.</p>
<p class="description">Elegant wedge heel for a stylish look.</p><br>
<p class="size">Sizes: 5-10</p>
<p class="reviews">Reviews: 45</p>
<button class="buy-now">Buy Now</button>
Expand Down
2 changes: 1 addition & 1 deletion sneaker.html
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ <h2>On Cloudstratus</h2>
<h2>Hoka One One Bondi</h2>
<p class="price">$145.00</p>
<p class="rating">Rating: ⭐⭐⭐⭐⭐ (4.8)</p>
<p class="description">Maximum cushioning for ultimate comfort.</p>
<p class="description">Maximum cushioning for ultimate comfort.</p><br>
<p class="size">Sizes: 5-11</p>
<p class="reviews">Reviews: 65</p>
<button class="buy-now">Buy Now</button>
Expand Down
7 changes: 6 additions & 1 deletion womens.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
transform: translateY(-10px);
background-color: #c5bebd;
}
.testimonal__card img{
width: 100%;
aspect-ratio: 2/2.5;
object-fit: cover;
}



Expand Down Expand Up @@ -137,7 +142,7 @@ <h2 class="my2" id="Topwear">Topwear</h2>
height: 345px;
object-fit: cover;padding: 5px;">
<h2 class="testimonal__title"
style="font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;color: hsl(203, 30%, 26%);"> Over-sized T-shirt For Women
style="font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;color: hsl(203, 30%, 26%);"> Over-sized T-shirt
</h2>
<p class="testimonal__description"
style="font-family: var(--ff-poppins);color: hsl(208, 7%,46%);">
Expand Down

0 comments on commit 6e6a2fe

Please sign in to comment.