-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7943a5
commit 909cfee
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!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>Smoke Effect</title> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
|
||
<body> | ||
<div class="center"> | ||
|
||
<ul> | ||
<li>S</li> | ||
<li>M</li> | ||
<li>O</li> | ||
<li>K</li> | ||
<li>E</li> | ||
</ul> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
*{ | ||
margin:0; | ||
padding:0; | ||
font-family: verdana; | ||
background: #262626; | ||
} | ||
.center{ | ||
position: absolute; | ||
top:50%; | ||
left:50%; | ||
transform: translate(-50%,-50%); | ||
} | ||
|
||
ul{ | ||
margin: 0; | ||
padding:0; | ||
display: flex; | ||
} | ||
ul li{ | ||
list-style: none; | ||
color : #fff; | ||
font-size: 6em; | ||
font-weight: bold; | ||
letter-spacing: 10px; | ||
filter: blur(1px); | ||
} | ||
ul:hover li{ | ||
animation: animate 2s linear forwards; | ||
} | ||
|
||
@keyframes animate{ | ||
0%{ | ||
transform : rotate(0deg) translateY(0px); | ||
} | ||
100%{ | ||
transform : rotate(45deg) translateY(-200px); | ||
opacity: 0; | ||
filter: blur(1px); | ||
} | ||
} | ||
ul li:nth-child(1){ | ||
animation-delay:0s; | ||
} | ||
ul li:nth-child(2){ | ||
animation-delay:0.4s; | ||
} | ||
ul li:nth-child(3){ | ||
animation-delay:0.8s; | ||
} | ||
ul li:nth-child(4){ | ||
animation-delay:1.2s; | ||
} | ||
ul li:nth-child(5){ | ||
animation-delay:1.6s; | ||
} |