html5 3开元体育app官方版最新在线体彩投注下载网站D旋转木马幻灯片播放代码素材
css样式
* { margin: 0; padding: 0;}html,body { height: 100%;}body { overflow: hidden; display: flex; background: #111; perspective: 1000px; transform-style: preserve-3d;}#drag-container, #spin-container { position: relative; display: flex; margin: auto; transform-style: preserve-3d; transform: rotateX(-10deg);}#drag-container img, #drag-container video { transform-style: preserve-3d; position: absolute; left: 0; top: 0; width: 100%; height: 100%; line-height: 200px; font-size: 50px; text-align: center; box-shadow: 0 0 8px #fff; -webkit-box-reflect: below 10px linear-gradient(transparent, transparent, #0005);}#drag-container img:hover, #drag-container video:hover { box-shadow: 0 0 15px #fffd; -webkit-box-reflect: below 10px linear-gradient(transparent, transparent, #0007);}#drag-container p { font-family: Serif; position: absolute; top: 100%; left: 50%; transform: translate(-50%,-50%) rotateX(90deg); color: #fff;}#ground { width: 900px; height: 900px; position: absolute; top: 100%; left: 50%; transform: translate(-50%,-50%) rotateX(90deg); background: -webkit-radial-gradient(center center, farthest-side , #9993, transparent);}#carousel-container { width: 100%; height: 100%;}@keyframes spin { from{ transform: rotateY(0deg); } to{ transform: rotateY(360deg); }}@keyframes spinRevert { from{ transform: rotateY(360deg); } to{ transform: rotateY(0deg); }}
二、支持鼠标拖动旋转,插入mp4视频和图片幻灯片播放
一、3D旋开元体育在线体彩投注app官方版最新下载网站转木马动画特效。html5基于css3制作多张图片环形布局,
html5 3D旋转木马幻灯片播放代码素材,html代码
<!DOCTYPE html><html lang="en" ><head><meta charset="UTF-8"><title>html5 3D旋转木马幻灯片播放 - bokequ.com</title><link rel="stylesheet" href="css/style.css"></head><body><di在线体彩投注v id="drag-container"> <div id="spin-container"> <img src="http://www.bokequ.com/show/carousel/img/pexels-photo-206395.j开元体育app官方版最新下载网站peg?auto=compress&cs=tinysrgb&dpr=1&w=500" alt=""> <img src="http://www.bokequ.com/show/carousel/img/pexels-photo-1391498.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500" alt=""> <img src="http://www.bokequ.com/show/carousel/img/pexels-photo-1382731.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500" alt=""> <img src="http://www.bokequ.com/show/carousel/img/pexels-photo-1758144.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500" alt=""> <img src="http://www.bokequ.com/show/carousel/img/pexels-photo-1382734.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500" alt=""> <img src="http://www.bokequ.com/show/carousel/img/pexels-photo-1462636.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500" alt=""> <a target="_blank" href="img/pexels-photo-139829.jpeg" rel="noopener"> <img src="http://www.bokequ.com/show/carousel/img/pexels-photo-139829.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500" alt=""> </a> <video controls autoplay="autoplay" loop> <source src="http://img.ilequ.com/user_files/43/publish/video/28735789_1609040045.mp4" type="video/mp4"> </video> <!-- Dòng chữ ở giữa vòng xoay --> <p>3D旋转木马(博客趣)</p> </div> <div id="ground"></div></div><script type="text/javascript" src="http://www.bokequ.com/show/carousel/js/script.js"></script></body></html>
html5 3D旋转木马幻灯片播放代码演示地址3D旋转木马演示
-
上一篇
-
下一篇
- 最近发表
- 随机阅读
-
- 申请/注册新域名需要注意哪些细节
- wordpress网站诊断提升打开速度
- 常用SEO命令/站长工具使用
- Favicon网站图标抓取API接口php源码
- wordpress禁用古腾堡区块内容编辑器方法
- 小米新品米家毛球修剪器:超长续航,剃毛不误,仅售49.9元,实用又经济
- js实现mp3音乐播放器ui界面代码
- WordPress多功能新闻积分商城主题LensNews2.2
- 搜索引擎的工作原理(四)
- Centos7 mysql自动重启(定时检测mysql运行状态)命令
- 生态环境部发布《2024中国生态环境状况公报》
- 鼠标经过文字显示隐藏图片css样式
- Java扒站工具templatespider下载
- B站视频下载软件工具推荐
- 免费简单图床EasyImages2.0源码
- 小米米家无线直发梳新色上市:云瑾紫,三挡调温,售价亲民,实用之选
- HTML5表单元input(二)
- JavaScript简单返回顶部代码实例
- 苹果酝酿智能家居新布局?'homeOS'商标申请引发热议
- 呆错免费开源图床系统源码
- 搜索
-
- 友情链接
-