Skip to content

Commit

Permalink
Merge pull request #43 from ishaa18/hover/facilities
Browse files Browse the repository at this point in the history
fixed #5 /hovering effect in our facilities
  • Loading branch information
juhinagpure authored May 12, 2024
2 parents f7d11fa + 408d94b commit 6c68197
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,14 @@ h3 {
.facilities-col img {
width: 100%;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.facilities-col img:hover{
transform: scale(1.1);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.facilities-col p {
padding: 5px;
}
Expand Down Expand Up @@ -300,12 +306,7 @@ h3 {
box-sizing: border-box;
}

.testimonials-col img {
height: 40px;
margin-left: 5px;
margin-right: 30px;
border-radius: 50%;
}


.testimonials-col p {
padding: 0;
Expand Down

0 comments on commit 6c68197

Please sign in to comment.