例如做一个边框特效
@keyframes huerotate {
0% {
filter: hue-rotate(0deg);
}
100% {
filter: hue-rorate(360deg);
}
}
.border{
border-bottom: 1px solid #aaa;
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
border-image: linear-gradient(45deg, gold, deeppink) 1;
clip-path: inset(0px round 10px);
animation: huerotate 6s infinite linear;
backdrop-filter: blur(1px);//毛玻璃属性
filter: hue-rotate(360deg);
}
标签:hue,filter,CSS,backdrop,0px,border,毛玻璃
From: https://www.cnblogs.com/echohye/p/17135977.html