From a93e9bb870df939bcbba4f00770d13eeef0575fc Mon Sep 17 00:00:00 2001 From: Mayank233444 Date: Sun, 25 Aug 2024 23:37:14 +0530 Subject: [PATCH] fixed testimonial hover effect --- styles/testimonial.module.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/styles/testimonial.module.css b/styles/testimonial.module.css index bcedaa16..6622ff98 100644 --- a/styles/testimonial.module.css +++ b/styles/testimonial.module.css @@ -1,5 +1,12 @@ .testimonial__item { - padding: 0px 20px; + padding: 30px 30px; + transition: 0.3s ease-in-out; +} + +.testimonial__item:hover{ + border: transparent; + background-color: #19223a; + border-radius: 5%; } .testimonial__client { @@ -20,6 +27,10 @@ color: var(--site-theme-color); } +.testimonial__client h6:last-child:hover{ + color: #62f7ca; +} + @media only screen and (max-width: 768px) { .testimonial__img img { width: 300px !important;