css实现霓虹灯闪亮效果

代码语言:html

所属分类:动画

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

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <style>
@import url("https://fonts.googleapis.com/css?family=Codystar:300&display=swap");
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Codystar';
            background: black;
            background-image: url('data:image/svg+xml,%3Csvg width="42" height="44" viewBox="0 0 42 44" xmlns="http://www.w3.org/2000/svg"%3E%3Cg id="Page-1" fill="none" fill-rule="evenodd"%3E%3Cg id="brick-wall" fill="%239C92AC" fill-opacity="0.4"%3E%3Cpath d="M0 0h42v44H0V0zm1 1h40v20H1V1zM0 23h20v20H0V23zm22 0h20v20H22V23z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
        }

        .neons {
            margin-top: 10rem;
            text-align: center;
        }

        .neons h1 {
            font-size: 9rem;
            text-align: center;
            font-weigh.........完整代码请登录后点击上方下载按钮下载查看

网友评论0