Untitled

mail@pastecode.io avatar
unknown
plain_text
4 days ago
1.9 kB
1
Indexable
Never
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Glitched Text</title>
    <style>
        @keyframes glitch {
            0% {
                clip: rect(42px, 9999px, 44px, 0);
                transform: skew(0.5deg);
            }
            10% {
                clip: rect(12px, 9999px, 56px, 0);
                transform: skew(0.5deg);
            }
            20% {
                clip: rect(85px, 9999px, 96px, 0);
                transform: skew(0.5deg);
            }
            30% {
                clip: rect(24px, 9999px, 36px, 0);
                transform: skew(0.5deg);
            }
            40% {
                clip: rect(67px, 9999px, 78px, 0);
                transform: skew(0.5deg);
            }
            50% {
                clip: rect(42px, 9999px, 44px, 0);
                transform: skew(0.5deg);
            }
            60% {
                clip: rect(12px, 9999px, 56px, 0);
                transform: skew(0.5deg);
            }
            70% {
                clip: rect(85px, 9999px, 96px, 0);
                transform: skew(0.5deg);
            }
            80% {
                clip: rect(24px, 9999px, 36px, 0);
                transform: skew(0.5deg);
            }
            90% {
                clip: rect(67px, 9999px, 78px, 0);
                transform: skew(0.5deg);
            }
            100% {
                clip: rect(42px, 9999px, 44px, 0);
                transform: skew(0.5deg);
            }
        }

        .glitch {
            font-size: 48px;
            font-weight: bold;
            color: #fff;
            position: relative;
            animation: glitch 1s infinite;
        }
    </style>
</head>
<body>
    <div class="glitch">Glitched Text</div>
</body>
</html>

Leave a Comment