Skip to content

Commit

Permalink
Merge pull request #24 from abhinav-m22/animations
Browse files Browse the repository at this point in the history
Added Fading Animations
  • Loading branch information
Gaurav-Verma07 committed May 26, 2023
2 parents caaa200 + 6b5be9e commit 247bd45
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/components/HomeOurValues/OurValues1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ function OurValues1() {
<h1 className="values-heading">OUR VALUES</h1>
<hr />
<div className="values-box-1">
<div className="values-content">
<div className="values-content fade-in-image">
<h1>Empowerment</h1>
<hr />
<p>
We prioritize empowering individuals and communities to take control of their own lives and work towards positive change.
</p>
</div>
<div className="values-content">
<div className="values-content fade-in-image">
<h1>Collaboration</h1>
<hr />
<p>
Value of collaboration with other organizations and stakeholders to achieve shared goals and maximize impact is very important to us.
</p>
</div>

<div className="values-content">
<div className="values-content fade-in-image">
<h1>Growth</h1>
<hr />
<p>
Expand Down
13 changes: 13 additions & 0 deletions src/components/HomeOurValues/Values.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,16 @@
margin-left: 0rem;
}
}

@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

.fade-in-image{
animation: fadeIn 2s;
}

1 comment on commit 247bd45

@vercel
Copy link

@vercel vercel bot commented on 247bd45 May 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.