您现在的位置是:html5 pg麻将胡了全屏红中PG3巅峰国际下载页面在哪D旋转木马幻灯片播放代码素材 >>正文
html5 pg麻将胡了全屏红中PG3巅峰国际下载页面在哪D旋转木马幻灯片播放代码素材
前街后巷网13531人已围观
简介支持鼠标拖动旋转,css样式* { margin: 0; padding: 0;}html,body { height: 100%;}body { overflow: hidden; dis...
支持鼠标拖动旋转,css样式
一、html5基于css3制作多张图片环形布局,
* { 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旋转木马演示
插入mp4视巅峰pg麻将胡了全屏红中PG国际下载页面在哪频和图片幻灯片播放一、html5基于css3制作多张图片环形布局,
html5 3D旋转木马幻灯片播放代码素材,3D旋pg麻将胡了全屏红中PG>巅峰国际下载页面在哪转木马动画特效。
Tags:
相关文章
web前端CSS3动画效果animation属性
html5 pg麻将胡了全屏红中PG3巅峰国际下载页面在哪D旋转木马幻灯片播放代码素材一、动画简介CSS3 提供了类似 Flash 关键帧控制的动画效果,通过 animation 属性实现。那么之前的 transition 属性只能通过指定属性的初始状态和结束状态来实现动画效果,有一定...
阅读更多
个人网站香港主机野草云选购
html5 pg麻将胡了全屏红中PG3巅峰国际下载页面在哪D旋转木马幻灯片播放代码素材许多新手建站时都会选择一些免费或便宜的主机来测试用,又因为建站备案等一系列繁琐步骤而选择国外或香港主机。网络上国外主机鱼龙混杂,众多香港虚拟主机服务商不稳定/甚至跑路,良莠不齐,而对于阿里云、腾讯云、...
阅读更多
小米米家折叠偏光太阳镜:轻薄时尚,价格亲民,你值得拥有!
html5 pg麻将胡了全屏红中PG3巅峰国际下载页面在哪D旋转木马幻灯片播放代码素材标题:轻薄时尚,价格亲民——小米米家折叠偏光太阳镜评测随着科技的发展,我们的生活方式也在不断演变。其中,太阳镜作为我们日常生活中的必备品,也在不断地更新换代。今天,我们就来评测一下小米米家超薄折叠偏光...
阅读更多