您正在使用 IPV4 [13.59.36.203] 访问本站,您本次已经查看了 1 页
用户名: 密 码: 验证码:     用QQ登录本站
首页 软件 编程 笑话 知识 公告 台风 日历 计算器
[公益]保护绿色环境,构建和谐社会       悟空收录网      

【腾讯云】 爆款2核2G3M云服务器首年 61元,叠加红包再享折上折      
[公益] 地球是我家,绿化靠大家      
2024年 劳动节 012
2024年 端午节 052
2025年 元 旦 257
2025年 春 节 285
综合数码金融娱乐服务报刊政府机构 推荐 排名 今日 申请 友情  
您现在的位置:首页 >> 脚本代码 >> 内容
本类新增
本类热门
JS实现字体背景跑马灯
内容摘要: !DOCTYPE htmlhtml lang='en'head meta charset='UTF-8' titleTitle/title stylediv{ text-align: center; background-color: black; padding: 10px 0;}.animated { font-family: 华文行楷, cursive......
<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<title>Title</title>

<style>

div{

text-align: center;

background-color: black;

padding: 10px 0;

}

.animated {

font-family: 华文行楷, cursive;

margin: 0;

padding: 0;

font-size: 100px;

background: url('text-bg.png') no-repeat;

background-clip: text;

-webkit-background-clip: text;

color: transparent;

animation: moveBg 90s linear infinite;

-webkit-animation: moveBg 90s linear infinite;

}


@keyframes moveBg {

0% {

background-position: 0 30%;

}


100% {

background-position: 100% 50%;

}

}


</style>

</head>

<body>

<div>

<h1 class="animated">欢迎到来</h1>

</div>

</body>

</html>


版权声明:本内容来源于网络,如有侵犯您的版权,请联系站长,本站收到您的信息后将及时处理。
上一篇:JS实现秒杀倒计时特效

 

下一篇:JS实现音乐钢琴特效

发布日期:2021/6/15
手机扫二维码直达本页
发布时间:12:34:56
点  击:5
录  入:齐天大圣
相关文章
Baidu
YiJiaCMS 7.3.8 build231228(MSSQL) 闽ICP备05000814号-1
本空间由腾讯云(轻量应用服务器)提供,Cloudflare提供加速防护
运行时间载入中.....