Skip to content

Commit

Permalink
Merge pull request #13 from Lavishbansal17/text
Browse files Browse the repository at this point in the history
Text Animation Efffect
  • Loading branch information
pulkit-30 authored Sep 3, 2021
2 parents 17768ff + 4a71855 commit 17cec7f
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
| Moon Light | https://iamtushar11.github.io/MoonLight-Parallex-Effect/ |
| Modal Animation | https://pulkit203.github.io/Modal-Animation/ |
| Gradient Drop Shadow | https://gradientdropshadow.netlify.app/ |

| Text Animation Effect|https://textanimationeffect.netlify.app/|
---

![Project Intro Gif](./Gif.gif)
Expand Down
Binary file added Text Animation Effect/image.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions Text Animation Effect/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Text Animation Effect</title>
<link rel="stylesheet" href="syle.css">
</head>
<body>
<div class="wavy">
<span style="--i:1;">L</span>
<span style="--i:2;">O</span>
<span style="--i:3;">A</span>
<span style="--i:4;">D</span>
<span style="--i:5;">I</span>
<span style="--i:6;">N</span>
<span style="--i:7;">G</span>
<span style="--i:8;">.</span>
<span style="--i:9;">.</span>
<span style="--i:10;">.</span>
</div>
<footer>
<div>
<p>
Credit:-<a href="https://github.com/lavishbansal17" class="atag">Lavish Bansal</a>
</p>
</div>
<div class="date">Date:- 03-09-2021</div>
</footer>
</body>
</html>
2 changes: 2 additions & 0 deletions Text Animation Effect/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Text Animation Effect
<img src="./image.gif" height="412px"/>
45 changes: 45 additions & 0 deletions Text Animation Effect/syle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
*{
margin: 0;
padding: 0;
font-family: consolas;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #000;
}
.wavy{
position: relative;
-webkit-box-reflect: below -12px linear-gradient(transparent, rgba(0,0,0,0.2));
}
.wavy span{
position: relative;
display: inline-block;
color: #fff;
font-size: 2em;
text-transform: uppercase;
animation: animate 1s ease-in-out infinite;
animation-delay: calc(0.1s * var(--i));
}
@keyframes animate{
0%{
transform: translateY(0px);
}
20%{
transform: translateY(-20px);
}
40%,100%{
transform: translateY(0px);
}
}
footer{
position: relative;
color: #00ff5a;
top: 19rem;
right: 44rem;
}
a{
color: blue;
}

0 comments on commit 17cec7f

Please sign in to comment.