Skip to content

Commit

Permalink
Animation added to the image (#496)
Browse files Browse the repository at this point in the history
* Commit 1

* Commit 2

* Commit-3
  • Loading branch information
Damini2004 authored Jul 13, 2024
1 parent aa80c83 commit 153365a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 24 deletions.
29 changes: 5 additions & 24 deletions package-lock.json

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

15 changes: 15 additions & 0 deletions src/components/HomepageFeatures/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,24 @@
align-items: center;
padding: 2rem 0;
width: 100%;

}

.featureSvg {
height: 200px;
width: 200px;
transform: translateX(0px);
animation: float 6s ease-out infinite;
}

@keyframes float {
0%{
transform: translateY(0px);
}
50%{
transform: translateY(-15px);
}
100%{
transform: translateY(0px);
}
}

0 comments on commit 153365a

Please sign in to comment.