Fixed Image saturation
This commit is contained in:
@@ -11,8 +11,9 @@ const Card = ({ title, description, imgSrc, delay }: IProps) => {
|
|||||||
className="flex flex-col justify-end flex-1 h-full border-solid border shadow-lg bg-cover bg-center text-center"
|
className="flex flex-col justify-end flex-1 h-full border-solid border shadow-lg bg-cover bg-center text-center"
|
||||||
style={{
|
style={{
|
||||||
backgroundImage: `url(${imgSrc})`,
|
backgroundImage: `url(${imgSrc})`,
|
||||||
|
filter: "saturate(50%)",
|
||||||
animation: `fadeEffect 1s ${delay} forwards`,
|
animation: `fadeEffect 1s ${delay} forwards`,
|
||||||
opacity: 0, // Add this line
|
opacity: 0,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className="lg:my-6">
|
<div className="lg:my-6">
|
||||||
|
|||||||
Reference in New Issue
Block a user