首先我们打开酷狗音乐PC版,然后点击下图皮肤图标;
然后点击下面步骤:
就可以点击“制作视频壁纸”制作动态桌面啦!
准备一个视频,上传就可以了,注意,视频文件大小不能超过200M,超过100M的上传过程会比较,等待他上传完毕就可以了~
当然,也可以选择“制作H5壁纸”,就是写一个HTML5的文件压缩上传上去
这是文件上传要求:
这是以前写的小HTML,验证过可以用来做动态壁纸
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>圣诞快乐</title>
<style>
body {
/* 透视 */
perspective: 1000px;
}
section {
position: relative;
width: 400px;
height: 400px;
margin: 150px auto;
/* */
transform-style: preserve-3d;
/* 动画 */
animation: rotate 10s linear infinite;
}
section:hover {
animation-play-state: paused;
}
@keyframes rotate {
0% {
transform: rotateY(0);
}
100% {
transform: rotateY(360deg);
}
}
a {
position: absolute;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url(img/preview.png) no-repeat center;
}
section a:nth-child(1) {
transform: translateZ(400px);
}
section a:nth-child(2) {
transform: rotateY(60deg) translateZ(400px);
}
section a:nth-child(3) {
transform: rotateY(120deg) translateZ(400px);
}
section a:nth-child(4) {
transform: rotateY(180deg) translateZ(400px);
}
section a:nth-child(5) {
transform: rotateY(240deg) translateZ(400px);
}
section a:nth-child(6) {
transform: rotateY(300deg) translateZ(400px);
}
</style>
</head>
<body>
<section>
<a href="http://www.bilibili.com" target="_blank"></a>
<a href="http://www.bilibili.com" target="_blank"></a>
<a href="http://www.bilibili.com" target="_blank"></a>
<a href="http://www.bilibili.com" target="_blank"></a>
<a href="http://www.bilibili.com" target="_blank"></a>
<a href="http://www.bilibili.com" target="_blank"></a>
</section>
</body>
</html>
这是桌面情况:
希望可以给大家的生活带来一点乐趣,加油!