Skip to content

Commit

Permalink
fixed fade effect on both sides
Browse files Browse the repository at this point in the history
  • Loading branch information
comnk committed May 31, 2024
1 parent 8703591 commit e21a477
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/components/Testimonial/Testimonial.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@
width: 50px;
height: 100%;
background-color: white;
background: linear-gradient(to right, black, transparent);
background: linear-gradient(to right, white, transparent);
position: absolute;
left: 0;
z-index: 3;
}

&::after {
Expand All @@ -62,9 +63,10 @@
width: 50px;
height: 100%;
background-color: white;
background: linear-gradient(to left, black, transparent);
background: linear-gradient(to left, white, transparent);
position: absolute;
right: 0;
z-index: 3;
}

li {
Expand Down

0 comments on commit e21a477

Please sign in to comment.