2023年政策修订增补工作正在进行中,欢迎参与!
Template:渐变发光/style.css
跳转到导航
跳转到搜索
/*
* 用于[[T:渐变发光]]
* 模糊部分源码来自[[T:Blur]]
* 渐变部分源码参考自[[T:Gradient_Text]]
*/
/* 用于顶层的文本 */
.topText {
position: relative;
display: inline-block;
z-index: 2;
}
/* 模糊 */
@keyframes blur {
from {
filter: blur(0px);
}
to {
filter: blur(5000px);
}
}
/* 用于底层的发光 */
.bottomText {
position: absolute;
left: 0;
top: 0;
z-index: -1;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
animation: blur 5000s linear infinite paused;
}
/* [[Category:在模板名字空间下的CSS页面]] */