当前位置:首页 > html5 3大满贯D旋转木马幻灯片播放代码素材九游app
html5 3大满贯D旋转木马幻灯片播放代码素材九游app
html5基于css3制作多张图片环形布局,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); }}
二、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><div id="drag-container"> <div id="spin-container"> <img src="http://www.bokequ.com/show/carousel/img/pexels-photo-206395.jpeg?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旋转木马演示
支持鼠标拖动旋转九游app,大满贯html5 3D旋转木马幻灯片播放代码素材,插入mp4视频和图片幻灯片播放
一、3D旋九游app大满贯转木马动画特效。
- 最近发表
- 随机阅读
-
- html5响应式时间轴页面模板大全
- 华为新款智能手表WATCH 5将与Pura 80系列手机携手亮相,科技与时尚的完美融合
- 经典90版html坦克大战小游戏代码
- Java扒站工具templatespider下载
- 个人网站被恶意镜像解决方法
- 下雪花背景404错误页面代码
- 酷炫无比的无穷隧道3d特效
- 影响爬虫抓取网页的因素
- sublime text3的快捷键/使用Emmet插件
- 虚拟主机导入MySQL出现Unknown character set:utf8mb4
- 66toolkit在线查询工具箱v16.00英文版
- javascript数据类型(typeof操作符)
- wordpress网站隐藏内容付费阅读/下载插件foxpay
- dedecms模板源码程序安装常见问题
- CSS3变形效果transform
- web前端CSS3动画效果animation属性
- 个人网站/公司logo标志免费在线制作
- 帝国CMS个人网站地图sitemap.xml生成(插件)
- 个人网站香港主机野草云选购
- web前端CSS3动画效果animation属性
- 搜索
-
- 友情链接
-