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 Animations to travel itineraries and made Responsive #929

Merged
merged 2 commits into from
Oct 18, 2024
Merged
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
29 changes: 28 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
.header1{
background-color:white;
border-radius:8px;
padding: 4px 8px 4px 8px;
}
/* Button Styling */
.btn {
Expand Down Expand Up @@ -184,6 +185,32 @@
.card:hover {
cursor: pointer;
}
@media (max-width: 768px) {
.itinerary-list {
flex-direction: column;
align-items: center;
}

.itinerary {
margin-bottom: 20px;
width: 90%;
}
.itinerary {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}

.itinerary:hover {
transform: scale(1.05);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-view-itinerary:hover {
background-color: #0056b3;
}



</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>

Expand Down Expand Up @@ -748,7 +775,7 @@ <h3>Family Vacation</h3>
</div>

<div class="itinerary">
<div class="header2">
<div class="header1">
<h3>Solo Adventure</h3>
<p>
Embark on a solo journey with our handpicked itineraries, offering
Expand Down
Loading