代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>聚光灯效果</title>
<style>
* {
margin: 0;
padding: 0;
}
body {
background: #222;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
h1 {
color: #333;
font-size: 8rem;
position: relative;
}
h1::after {
content: "YOSEEN";
color: transparent;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: -webkit-linear-gradient( left, #c23616, #192a56, #00d2d3, yellow, #60214F, #2e86de, #4cd137, #e84118);
background-clip: text;
-webkit-background-clip: text;
clip-path: circle(100px at 0% 50%);
-webkit-clip-path: circle(100px at 0% 50%);
animation: light 5s infinite;
}
@keyframes light {
0% {
clip-path: circle(100px at 0% 50%);
-webkit-clip-path: circle(100px at 0% 50%);
}
50% {
clip-path: circle(100px at 100% 50%);
-webkit-clip-path: circle(100px at 100% 50%);
}
100% {
clip-path: circle(100px at 0% 50%);
-webkit-clip-path: circle(100px at 0% 50%);
}
}
</style>
</head>
<body>
<h1>YOSEEN</h1>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。