Skip to content

Commit

Permalink
updated card styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Kritika745 committed Oct 13, 2024
1 parent 663100b commit 3d7b307
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -293,14 +293,18 @@
background-color:transparent; /* Optional for visual separation */
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.226);
display: flex;
flex-direction: column; /* Stack content vertically */
align-items: center;
max-width: 350px; /* Maximum width of each card */
flex: 1 1 280px; /* Allow boxes to grow and shrink */
min-width: 300px; /* Minimum width for responsiveness */
min-height: 480px; /* Minimum height for the card */
min-height: 200px; /* Minimum height for the card */
}

.box:hover{
border: 1px solid black;
}

.card-image {
Expand Down
2 changes: 2 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ body {
.order_btn:hover {
background-color: hsl(357, 82%, 45%);
}





Expand Down

0 comments on commit 3d7b307

Please sign in to comment.