File tree Expand file tree Collapse file tree 2 files changed +21
-26
lines changed
Expand file tree Collapse file tree 2 files changed +21
-26
lines changed Original file line number Diff line number Diff line change 4646 margin-bottom : 30px ;
4747 }
4848}
49+
Original file line number Diff line number Diff line change 1- .testimonial__item {
2- padding : 0px 20px ;
1+ .marquee {
2+ overflow : hidden;
3+ white-space : wrap;
4+ box-sizing : border-box;
5+ width : 100% ;
6+ position : relative;
37}
48
5- .testimonial__client {
9+ .marqueeContent {
610 display : flex;
7- column-gap : 1rem ;
8- margin-bottom : 30px ;
11+ align-items : center;
12+ width : 200% ;
13+ animation : marquee 10s linear infinite;
914}
1015
11- .testimonial__client_Avatar {
12- width : 50px ;
13- height : 50px ;
14- }
15- .testimonial__client h6 {
16- font-weight : 400 ;
17- }
18-
19- .testimonial__client h6 : last-child {
20- color : var (--site-theme-color );
16+ .marqueeContent > div {
17+ display : inline-block;
18+ padding : 0 20px ;
19+ max-width : 300px ;
20+ box-sizing : border-box;
2121}
2222
23- @media only screen and (max-width : 768px ) {
24- .testimonial__img img {
25- width : 300px !important ;
26- height : 300px !important ;
23+ @keyframes marquee {
24+ 0% {
25+ transform : translateX (100% );
2726 }
28-
29- .testimonial__img {
30- text-align : center;
31- margin-bottom : 30px ;
27+ 100% {
28+ transform : translateX (-100% );
3229 }
3330}
34-
35-
36-
You can’t perform that action at this time.
0 commit comments