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

Added styling to Book Now button #191

Merged
merged 3 commits into from
Oct 8, 2024
Merged
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
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ <h3>
Connect, Explore, and Discover Together. <br />
BuddyTrail: Your Journey Begins with the Perfect Travel Companion.
</h3>
<button id="btn"><a href="book.html ">Book now</a></button>
<button id="btn" class="bluebtn"><a href="book.html ">Book now</a></button>
</section>

<section id="locations">
Expand Down Expand Up @@ -426,7 +426,7 @@ <h3>Romantic Getaway</h3>
required
/><br /><br />
</div>
<button
<button class="bluebtn"
style="
background-color: #007bff;
color: white;
Expand Down Expand Up @@ -521,7 +521,7 @@ <h2>Contact US</h2>
<label for="email">Email :</label>
<input id="email" type="email" name="email" required />
</div>
<button type="submit">Submit</button>
<button type="submit" class="bluebtn">Submit</button>
</form>
</div>
</section>
Expand Down
10 changes: 9 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ button {
transition: background 0.6s ease-in-out;
}
#btn:hover{
background-color: rgb(1, 20, 27);
background-color: #007bff;
box-shadow: 0 0 10px lightblue, 0 0 20px lightblue;
font-weight: 500;
}
/**** MAIN PAGE ****/

Expand Down Expand Up @@ -110,6 +111,13 @@ nav ul {
font-weight: 400;
}

.bluebtn:hover {
background: #007bff;
color: white;
font-weight:500;
z-index: 1;
}

.hero {
min-height: 90vh;
background: linear-gradient(rgba(0, 0, 0, 0.8), transparent),
Expand Down
Loading