aspnet网站开发模板,备案 网站建设方案书,哈尔滨网站建设推荐,校园招聘在自己的网页上面#xff0c;有时候觉得太单调#xff0c;想给自己的鼠标加点皮肤 下面的代码拿过来就直接可以用的#xff0c;因为都是站点里面的图片#xff0c;不用自己去找图片也能先玩玩看
想要自己修改样式的话#xff0c;只用改里面几个url后面的图片地址就好了有时候觉得太单调想给自己的鼠标加点皮肤 下面的代码拿过来就直接可以用的因为都是站点里面的图片不用自己去找图片也能先玩玩看
想要自己修改样式的话只用改里面几个url后面的图片地址就好了十分的简单方便
线上demo
鼠标特效http://longsong.games/time/wife/
!doctype html
html stylecursor:url(http://www.longsong.xyz/Count_Visitor/images/cruise.ico),auto;
stylediv{width: 20px;height: 20px;background-image:url(http://longsong.games/time/Count_Visitor/images/cruise.ico);position: absolute;border-radius: 50%;}
/styleheadmeta charsetutf-8title鼠标特效/title
/headbody styleheight: 100%;width: 100%;positionrelative
video srchttp://www.longsong.online/wp-content/uploads/2022/03/mulai.mp4 stylewidth: 100%;height: 100%;object-fit: cover;position: absolute;top: 0;left: 0; autoplayautoplay looploop mutedmuted/video
div idwarp onmouseoverover() onmouseoutout()div idtext styledisplay: none;这里面有一段文字/div
/div
/bodyscriptdocument.onmousemove function () {var div document.createElement(div);var x event.clientX;var y event.clientY;var o 10; //这里可以自行调节div.style.left x px;div.stylediv.style.top y px;document.body.appendChild(div);for(var i 0;io;i){setTimeout(function(){document.body.removeChild(div); },100)}}
/script/html
想要给自己的网页加个动态背景
如何把MP4视频作为html网页的背景_long_songs的博客-CSDN博客大家可以先欣赏欣赏我妻红莉栖放在首页的样子http://www.longsong.xyz/http://www.longsong.xyz/!doctype htmlhtmlhead/headbody styleheight: 100%;width: 100%;positionrelativevideo srchttp://www.longsong.online/w...https://blog.csdn.net/long_songs/article/details/123300771