jq css实现浪漫表白必备页面
效果图:
图片素材 :
推荐:《js高级教程》
代码如下,复制即可使用:
<!doctype html><html><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><title>浪漫表白 by:阿杜</title> <style type = "text/css"> *{ margin:0px; padding:0px; } html,body{ height:100%; } body{ font-family:"微软雅黑";<!-- 此处需要自己修改图片路径 --> background:url(images/b1j.jpg) no-repeat fixed; background-size:cover; } .top{ width:500px; height:150px; margin:50px auto; font-size:30px; color:#ea544d; } .box{ width:310px; height:310px; margin:0px auto; perspective:800px; margin-top:-40px; } .box .wrap{ width:210px; height:210px; position:relative; transform-style:preserve-3d; animation:play 10s linear infinite; } .box .wrap ul li{ list-style:none; position:absolute; top:0;left:0; } @keyframes play{ from{transform:rotatey(0deg);} to{transform:rotatey(360deg);} } .xin,.xin1{ position:absolute; } .xin{ animation:xin 8s linear infinite; } @keyframes xin{ 0%{top:0%;left:50%;opacity:1;} 20%{top:20%;left:80%;opacity:0;} 40%{top:50%;left:50%;opacity:1;} 60%{top:80%;left:40%;opacity:0;} 80%{top:50%;left:20%;opacity:1;} 100%{top:10%;left:0%;opacity:0;} } .xin1{ animation:xin 15s linear infinite; } @keyframes xin1{ 0%{top:10%;right:50%;opacity:1;} 20%{top:50%;right:80%;opacity:0;} 40%{top:40%;right:50%;opacity:1;} 60%{top:60%;right:40%;opacity:0;} 80%{top:50%;right:20%;opacity:1;} 100%{top:0%;right:0%;opacity:0;} } .text{ width:60%; margin:0 auto; margin-top:-60px; font-size:20px; line-height:30px; font-weight:500; animation:color 10s linear infinite; } @keyframes color{ 0%{color:#039;} 20%{color:#9c3;} 40%{color:#6c6;} 60%{color:#66f;} 80%{color:#fc9;} 100%{color:#9ff;} } </style> </head><body> <!--s top--> <div class = "top"> <marquee behavior="alternate">love page by:阿杜</marquee> </div> <!--e top--> <!--s box--> <div class = "box"> <div class = "wrap"><!-- 此处需要自己修改图片路径 --> <ul> <li><img src="images/1.gif" height="210px" width="210px"/></li> <li><img src="images/2.gif" height="210px" width="210px"/></li> <li><img src="images/3.gif" height="210px" width="210px"/></li> <li><img src="images/4.gif" height="210px" width="210px"/></li> <li><img src="images/5.gif" height="210px" width="210px"/></li> <li><img src="images/6.gif" height="210px" width="210px"/></li> </ul> </div> </div> <!--e box -此处需要自己修改图片路径-->
备案变更问题-备案平台Facebook移除多个虚假账户 担忧大选期间黑客攻击云服务器怎么运行jar包注册域名这些技巧你要掌握 域名注册也需要技巧对方邮箱对方邮箱发过来-企业邮局域名网站禁用-市场咨询收录快、删除也快,文章质量太差?碎片式文案!文案鬼才李佳琦