Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Titre du document</title>
<style>
body {
background-color: #eee;
}
#exemple {
width: 450px;
margin: 250px auto;
}
h2 {
text-align: center;
color: #d9fff9;
font-size: 80px;
letter-spacing: 6px;
font-weight: 300;
margin: 0;
line-height: 0;
animation: glitch1 3.5s infinite;
}
h2:nth-child(2) {
color: #0ef0e1;
animation: glitch2 2.5s infinite;
}
h2:nth-child(3) {
color: #ff94eb;
animation: glitch3 2.5s infinite;
}
@keyframes glitch1 {
0% {
transform: none;
opacity: 1;
}
8% {