<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .typer_main{
            font-size: 1.8rem;
            font-weight: normal;
            letter-spacing: .3rem;
            -webkit-animation: typer 5s steps(50, end) forwards;
            animation: typer 5s steps(50, end) forwards;
        }
        .typer{
            width:100%;
            white-space:nowrap;
            overflow:hidden;
        }
        @-webkit-keyframes typer{
            from { width: 0;}
        }

        @keyframes typer{
            from { width: 0;}
        }
    </style>
</head>
<body>
    <h1 class="typer typer_main">come on bro!</h1>
</body>
</html>

 

相关文章:

  • 2021-11-18
  • 2021-11-14
  • 2021-05-23
  • 2021-08-30
  • 2021-07-14
  • 2021-10-18
  • 2021-04-15
猜你喜欢
  • 2021-08-30
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2021-06-29
相关资源
相似解决方案