Skip to content

Commit

Permalink
Added Name typing animation
Browse files Browse the repository at this point in the history
Name Typing animation CSS
  • Loading branch information
sachinsaini4278 committed Sep 8, 2022
1 parent 2922967 commit b1544d1
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Loading Animation/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="typing">This is Sachin Saini</div>
</div>
</body>
</html>
26 changes: 26 additions & 0 deletions Loading Animation/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
body{
display: flex;
align-items: center;
justify-content: center;
background: black;
min-height: 100vh;
}

.typing{
color: rgb(37, 60, 178);
overflow: hidden;
border-right: .15em solid orange;
white-space: nowrap;
font-size: 2.6rem;
width: 0;
animation: typing 2s steps(13, end) infinite forwards;
}
@keyframes typing {
0%{
width: 0;
}
60%{
width: 100%;
}
}

0 comments on commit b1544d1

Please sign in to comment.