Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed Book now button, now clearly visible #1636

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1349,8 +1349,8 @@ <h2 class="section__title">Best trip packages</h2>
<div class="rating"><i class="ri-star-fill"></i> 4.2</div>
<div class="booking__price">
<div class="price"><span>From</span> $300</div>
<a href="./dedicated-destinations/santorini-aegean-sea/start.html"><button class="book__now btn-style"
style="box-shadow: 2px 2px 8px red;">Book
<a href="./dedicated-destinations/santorini-aegean-sea/start.html"><button class="book__now "
>Book
Now</button></a>
</div>
</div>
Expand All @@ -1363,7 +1363,7 @@ <h2 class="section__title">Best trip packages</h2>
<div class="booking__price">
<div class="price"><span>From</span> $450</div>
<a href="./dedicated-destinations/machu-picchu-peru/Machu_start.html"><button
class="book__now btn-style" style="box-shadow: 2px 2px 8px red;">Book
class="book__now " >Book
Now</button></a>
</div>
</div>
Expand All @@ -1376,7 +1376,7 @@ <h2 class="section__title">Best trip packages</h2>
<div class="booking__price">
<div class="price"><span>From</span> $400</div>
<a href="./dedicated-destinations/grand-canyon-national-park-arizona/Grand_start.html"><button
class="book__now btn-style" style="box-shadow: 2px 2px 8px red;">Book Now</button></a>
class="book__now " >Book Now</button></a>
</div>
</div>
</div>
Expand Down
44 changes: 37 additions & 7 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
--max-width: 1200px;
--img-color: white;
--head-text: #6a5acd;

--bubble-color: #6a5acd;

--testimonials-img-border: #6a5acd;
Expand Down Expand Up @@ -1091,22 +1090,53 @@ header {
color: var(--text-light);
}

.book__now {
padding: 0.5rem 1.5rem;
/* .book__now {
display: flex;
justify-content: center;
align-items: center;
padding: 0.7rem 2rem;
background-color: #3c009d;
color: var(--primary-color);
outline: none;
border: none;
font-weight: 700;
cursor: pointer;
transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
border: 1px solid var(--primary-color);
border-radius: 5rem;
background-color: transparent;
cursor: pointer;
transition: 0.3s;
}

.book__now:hover {
background-color: #eaeaea;
color: var(--extra-light);
background-color: var(--primary-color);
border: 2px solid #323232;
transform: scale(1.05);
} */

.book__now {
display: flex;
justify-content: center;
align-items: center;
width: 180px; /* Similar width */
height: 50px; /* Similar height */
background-color: #3c009d;
color: #fff; /* Matching color */
font-weight: 500;
border: none;
border-radius: 50px; /* Matching border-radius */
cursor: pointer;
transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

.book__now:hover {
background-color: #eaeaea;
color: black;
font-weight: 600;
border: 2px solid #323232;
}



.gallary__container {
display: flex;
background-color: var(--secondary-color);
Expand Down
Loading