Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ShouryaMishra2006 committed Aug 8, 2024
1 parent 63f90c8 commit cb1e365
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Components/Text-Animations/Zooming-text-animation/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zooming Text Animation</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="main">
<div class="text">
<h1>WELCOME TO BEAUTIFY</h1>
</div>
</div>
</body>
</html>
32 changes: 32 additions & 0 deletions Components/Text-Animations/Zooming-text-animation/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
body {
background-color: rgb(214, 30, 214);
margin: 0;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}

.main {
background-color: rgb(214, 30, 214);
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

@keyframes zoom{
from{font-size:medium}
to{font-size:larger}
}
.text {
background-color: white;
border-radius: 10px;
height:100px;
width:550px;
text-align: center;
animation-name: zoom;
animation-duration: 1s;
animation-delay:0s;
animation-iteration-count: infinite;
}

0 comments on commit cb1e365

Please sign in to comment.