css+js实现屏幕打字动画显示效果代码

代码语言:html

所属分类:动画

代码描述:css+js实现屏幕打字动画显示效果代码

代码标签: css js 屏幕 打字 动画 显示

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <style>
        body{color:#27f7f7;}.container{margin:2.5em;padding:15px;border-radius:8px}.console{height:100px;padding:1.875em;background:#191919;box-shadow:0 0 15px 2px #7Cbdbd inset;border:2px solid #3acaec;border-radius:5px}p{font-family:"Orbitron",sans-serif;font-size:100%;font-weight:normal;letter-spacing:.1rem;line-height:200%}.char{color:#fff;transition:color ease-out .3s,text-shadow ease-out .3s;text-shadow:0 0 4rem #fff}.char.fade-in{color:#0cf;transition:color ease-out .3s,text-shadow ease-out .3s;text-shadow:0 0 1rem #0cf}
    </style>
</head>

<body>
    <div class="container">
        <div class="console"><code><p>have you ever love a man like this?</p>  
      
    </code>
        </div>
    </div>
.........完整代码请登录后点击上方下载按钮下载查看

网友评论0