<style>
@keyframes n
{
0%{background-position: 0% 0%;}
50%{background-position: 100% 100%;}
100%{background-position: 0% 0%;}
}
html{
width: 100%;
height: 100%;
background-attachment: fixed;
background: linear-gradient(to bottom right,#ff22ff ,#0621,#4422cc);
background-size: 400% 400%;
animation: n 10s infinite;
}
</style>
css渐变背景
最新推荐文章于 2024-08-13 17:13:54 发布