Membuat Efek Animasi Teks Kartun Dengan HTML CSS3 Dan Google Font

Membuat Efek Animasi Teks Kartun Dengan HTML CSS3 Dan Google Font
Labkom99.com – Membuat Efek Animasi Tesk Kartun Dengan HTML CSS3 Dan Google Font
LABKOM99

<!DOCTYPE html>
<html lang="EN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Labkom99.com - Membuat Efek Animasi Tesk Kartun Dengan HTML CSS3 Dan Google Font </title>
<link href="https://fonts.googleapis.com/css?family=Cabin+Sketch:700&display=swap" rel="stylesheet">
<style>
.demo{ background: #222; }
..text-effect{
color: #022635;
font-family: 'Cabin Sketch', cursive;
font-size: 100px;
text-align: center;
text-transform: uppercase;
margin: 0 auto;
position: relative;
}
.text-effect span{
display: inline-block;
animation: animate 0.5s linear infinite both;
}
.text-effect span:nth-child(1),
.text-effect span:nth-child(4),
.text-effect span:nth-child(7),
.text-effect span:nth-child(10){
color: #146d06;
}
.text-effect span:nth-child(2),
.text-effect span:nth-child(5),
.text-effect span:nth-child(8){
color: #b7977b;
}
@keyframes animate{
0%, 50%, 100%{ transform: rotate(0deg) scale(1); }
25%{ transform: rotate(4deg) scale(0.98); }
75%{ transform: rotate(-4deg) scale(1.02); }
}
@media only screen and (max-width: 990px){
.text-effect{ font-size: 100px; }
}
@media only screen and (max-width: 767px){
.text-effect{ font-size: 80px; }
}
@media only screen and (max-width: 479px){
.text-effect{ font-size: 60px; }
}
@media only screen and (max-width: 359px){
.text-effect{ font-size: 45px; }
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="text-effect">
<span>L</span><span>A</span><span>B</span><span>K</span><span>O</span><span>M</span><span>9</span><span>9</span>
</div>
</div>
</div>
</div>
</body>
</html>

Selamat mencoba …!!!

Related posts

Leave a Reply

Your email address will not be published. Required fields are marked *