html5 3真人庄网投网平台闲游戏平台D旋转木马幻灯片播放代码素材
插入mp4视频和图片幻灯片播放
一、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); }}
二、
html5 3D旋转木马幻灯片播放代码素材,支持鼠网投网平台trong>真人庄闲游戏平台标拖动旋转,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><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旋转木马演示
html5真人庄网投网平台闲游戏平台基于css3制作多张图片环形布局,- 最近发表
- 随机阅读
-
- WordPress主题特色图片(缩略图)不显示原因
- 网站被IP频繁访问(阿里主机887timed out)
- html5响应式时间轴页面模板大全
- 个人博客网站常用优化内容方法
- javascript数据类型
- SEO一些名词介绍/SEO常见术语
- dedecms仿站之index.htm(主页模板)标签介绍
- web前端JavaScript介绍
- 大旗发帖助手下载/使用教程
- dedecms文章栏目列表页标题增加序号
- QQ互联申请接入qq登录APPID与APPKey方法
- 鼠标控制图片左右无缝滚动js特效
- wordpress时光轴自适应主题jinsomB模板
- JavaScript对象中的方法/如sort(参数)方法
- CSS3渐变效果linear
- 鼠标控制图片左右无缝滚动js特效
- 个人域名IPC备案/网站备案注意事项
- 织梦dedecms修改文章,时间不变的方法
- wordpress个人网站如何搬到电脑本地修改
- 经典90版html坦克大战小游戏代码
- 搜索
-
- 友情链接
-