Skip to content

Commit

Permalink
Merge pull request #929 from AbhinaySngh/abhinay_issue#756
Browse files Browse the repository at this point in the history
Fixed flickering issue on service page
  • Loading branch information
sunny0625 authored Jun 4, 2024
2 parents 5576941 + 69253c7 commit c5a7253
Show file tree
Hide file tree
Showing 2 changed files with 240 additions and 205 deletions.
20 changes: 16 additions & 4 deletions Css-files/services.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@

}

.section1 {
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
}

.section__title {
font-size: 4em;
font-weight: bold;
Expand All @@ -16,12 +23,17 @@
animation: gradient-animation 3s infinite;
}

.section__title:hover {
border-bottom: 3px solid rgb(138, 37, 37);
.section1>hr {
opacity: 0;
border-width: 2px;
}

.section1:hover>hr {
border-bottom: 2px solid rgb(138, 37, 37);
/* Add bottom border on hover */
border-top: 3px solid rgb(138, 37, 37);
border-top: 2px solid rgb(138, 37, 37);
width: 50%;
margin-left: 370px;
opacity: 1;
}

#active-page {
Expand Down
Loading

0 comments on commit c5a7253

Please sign in to comment.