如果你把我灌醉
<style>#papa { margin: 150px 0 0 calc(50% - 781px); width: 1400px; height: 720px; background: url('https://i.mp3.wf/view.php/335470f21f13aa25a286f40209bbdd97.jpg') no-repeat center/cover; box-shadow: 4px 4px 8px #000; overflow: hidden; display: grid; place-items: center; z-index: 1; position: relative; --state: running; }
#sky { position: absolute; width: 1400px; height: 380px; top:350; left: 650; transform: rotate(30deg); }
#dt1{ position: absolute; width:1200px; height:500px; top: 120px; left: 30px; }
#dt2{ position: absolute; width:122px; height :120px; top: 350px; left: 300px; }
#dt3{ position: absolute; width:12px; height:20px; top: 170px; left: 370px; }
#dt4{ position: absolute; width:122px; height:120px; top: 510px; left: 500px; }
#dt5{ position: absolute; width:122px; height:120px; top: 350px; left: 600px; }
</style>
<div id="papa">
<img id="dt1" src="https://xlaj.cn/assets/file/zp/20231004105737.gif " alt="" />
<img id="dt2" src="https://i.mp3.wf/view.php/f4827e16bdbe20ee792758d3dd8a1d19.gif " alt="" />
<img id="dt3" src="https://xlaj.cn/assets/file/zp/20231030141805.jpg " alt="" />
<img id="dt4" src="https://i.mp3.wf/view.php/f4827e16bdbe20ee792758d3dd8a1d19.gif " alt="" />
<img id="dt5" src="https://i.mp3.wf/view.php/f4827e16bdbe20ee792758d3dd8a1d19.gif " alt="" />
<div id="sky"></div>
<audio id="aud" src="https://aod.cos.tx.xmcdn.com/storages/a4fb-audiofreehighqps/F6/B6/GKwRIDoIgO36ACAAAAI12ZHe.mp3" autoplay loop></audio>
</div>
<script>
(function() {
let lrcAr = [
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
];
let js1 = 'https://xlaj.cn/assets/file/zp/20231029162717.js ',
js2 = 'https://638183.freep.cn/638183/web/lizi/h5lz_2d.js';
let loadJs = (url,callback) => {
let body = document.querySelector('body'), jsNode = document.createElement('script');
jsNode.charset = 'utf-8';
jsNode.setAttribute('src', url);
body.appendChild(jsNode);
jsNode.onload = () => callback();
};
loadJs(js1, () => {
HCPlayer({
papa: '#papa',
lrcAr: lrcAr,
lrc_css: 'top:50px;; left: 15%;color:Honeydew; --bg: linear-gradient(rgba(100,149,2375,4),rgba(100,149,237,.17));',
fs_css: 'transform: translate(0px,40px); color: #F0FFF0; background: transparent; bottom: -250px;',
player_css: 'width: 250px; height: 250px;left: 210px;top:120px; transform: translateY(-20px);',
path: 'width: 250px; height: 250px;left: 10px;top:320px; transform: translateY(-20px);',
path: 'm200.62628,85.24308c0.12325,1.69025 0.12325,3.38086 0.12325,5.07111c0,51.55474 -40.04122,110.95789 -113.22493,110.95789c-22.54653,0 -43.49116,-6.39937 -61.10948,-17.50676c3.20343,0.36198 6.28324,0.48277 9.60992,0.48277c18.60358,0 35.72927,-6.15743 49.40502,-16.66163c-17.49507,-0.36235 -32.15646,-11.5909 -37.20793,-27.04542c2.4643,0.36198 4.92821,0.60355 7.51576,0.60355c3.57281,0 7.14601,-0.48314 10.47231,-1.32789c-18.2342,-3.62243 -31.91033,-19.31816 -31.91033,-38.27396l0,-0.48277c5.29759,2.89772 11.45834,4.70875 17.9877,4.94995c-10.71882,-7.00293 -17.74119,-18.9558 -17.74119,-32.47852c0,-7.24412 1.97091,-13.8847 5.42085,-19.68014c19.58961,23.66456 49.03564,39.11872 82.05411,40.80933c-0.61588,-2.89772 -0.98564,-5.91586 -0.98564,-8.93437c0,-21.49155 17.74157,-38.9983 39.7951,-38.9983c11.45796,0 21.80702,4.70875 29.07628,12.31523c8.99366,-1.69025 17.61794,-4.95032 25.25696,-9.41751c-2.95731,9.05553 -9.24054,16.66201 -17.49507,21.49117c8.0084,-0.84475 15.77029,-3.01851 22.91591,-6.03665c-5.42009,7.72689 -12.19671,14.60866 -19.95861,20.16291z',
btn: {left: 44, top: 130},
track: {track: '#F0FFF0', prog: '#1072ba'},
img: {play: '', pause: ''}
});
});
loadJs(js2, () => {
H5lz({
papa: '#sky',
total: 15,
size: {width: 18, height: 34},
shape: {background: 'url("yezx.png") no-repeat center/cover', borderRadius: '0'},
ani: 'toBottom',
maxTime: 30,
offset: {x: 0, y: 0},
});
});
})();
</script>
<br><br> 套用一个小辣椒的路径效果{:4_172:}@小辣椒 谢谢小辣椒的代码,冬雨套用玩一个 谢谢马老师的路径源码分享@马黑黑
冬雨纯打酱油的{:4_170:} 冬雨就做了个简单的图,加了3个动感小人儿,其他代码套用小辣椒的,套用省力,开心玩玩{:4_205:} 冬天的雨 发表于 2023-11-1 20:05
谢谢马老师的路径源码分享@马黑黑
冬雨纯打酱油的
具体说是自由路径播放器,得要领后,可以自己设计路径,当然也可以网上找个合适的路径 三个跳舞小人和背景里的人物很一脉相承,跟歌曲也搭配。
欣赏冬小雨好帖{:4_199:} 欣赏冬雨好帖!点赞!{:4_187:} 冬天的雨 发表于 2023-11-1 20:03
套用一个小辣椒的路径效果@小辣椒
来了来了,必须好好鼓励一下冬雨,这个图图做的真漂亮{:4_178:} 冬天的雨 发表于 2023-11-1 20:04
谢谢小辣椒的代码,冬雨套用玩一个
尽管套用,最后每个都认识去玩一次,巩固一下套用的技术{:4_170:} 冬天的雨 发表于 2023-11-1 20:05
谢谢马老师的路径源码分享@马黑黑
冬雨纯打酱油的
继续打酱油{:4_170:} 冬天的雨 发表于 2023-11-1 20:06
冬雨就做了个简单的图,加了3个动感小人儿,其他代码套用小辣椒的,套用省力,开心玩玩
冬雨反正你忙,有时间就玩玩,不影响你工作就行 欣赏冬雨的精彩分享,再接再厉!{:4_197:}{:4_185:}
页:
[1]