Clip Text with Background Image

<!DOCTYPE html>
<html lang="en">
    <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>Clip Text with Background Image</title>
    <link rel="preconnect" href="">
    <link rel="preconnect" href="" crossorigin>
    <link href="[email protected]&display=swap" rel="stylesheet"> 
        * {
            margin: 0;
            padding: 0;

        body { background-color: #383838; }

        section {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100vh;

        h1 {
            font-family: 'Kanit', sans-serif;
            font-size: 200px;
            font-weight: bold;
            background-image: url('');
            background-position: center;
            background-repeat: no-repeat;
            background-size: contain;
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            filter: drop-shadow(0 0 3px #fff);
                                Copy Code

Result Screenshot(s)

Clip Text with Background ImageWorking Sample0