Skip to content

Commit

Permalink
box size is fixed on offer page
Browse files Browse the repository at this point in the history
  • Loading branch information
19sandhya committed Aug 10, 2024
1 parent 05cab35 commit 01555e5
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Html-files/offers.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,48 @@
background-color: #137cbd;
transition: background-color 0.3s, transform 0.3s;
}

.card {
height: 100%;
display: flex;
flex-direction: column;
}

.card img {
object-fit: cover;
width: 100%;
height: 200px; }

.card .p-3 {
flex-grow: 1;
}

.card h5 {
font-size: 1.25rem;
margin-bottom: 1rem;
}

.card p {
font-size: 1rem;
margin-bottom: 1.5rem;
}

.main-btn {
margin-top: auto;
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
text-align: center;
}

.main-btn a {
color: #fff;
text-decoration: none;
}


</style>


Expand Down

0 comments on commit 01555e5

Please sign in to comment.