您现在的位置是:html5 3pc28在哪玩D旋转木马幻灯片播放代码素材手机网投大平台 >>正文
html5 3pc28在哪玩D旋转木马幻灯片播放代码素材手机网投大平台
水底捞月网99人已围观
简介3D旋转木马动画特效。css样式* { margin: 0; padding: 0;}html,body { height: 100%;}body { overflow: hidden; d...
3D旋转木马动画特效。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旋转木马演示
html5 3D旋转木马幻灯片播放代码素材,pc28在哪玩手机网投大平台html5基于css3制作多张图片环形布局,插入mp4视频和图片幻灯片播放
一、支持鼠标拖动旋转,手机网投大平台trong>pc28在哪玩
Tags:
下一篇:帝国CMS列表页分页标题设置页码
相关文章
织梦dedecms修改文章,时间不变的方法
html5 3pc28在哪玩D旋转木马幻灯片播放代码素材手机网投大平台使用过Dedecms5.7的朋友,都会发现有一个非常智能的“问题”(就是在以前发布过的文章,如3月2号发布的文章,我现在3月20号修改文章后,发布时间就是自动变成当前修改的时间。但是我们的文章都是按照...
阅读更多
HTML5 audio如何实现播放多个MP3音频
html5 3pc28在哪玩D旋转木马幻灯片播放代码素材手机网投大平台<audio>标签是HTML5中的新标签,定义声音用于嵌入音频内容,比如音乐或其他音频流。用的比较多音频格式是.mp3。<audio>标签常用属性如下表属性值描述autopla...
阅读更多
WordPress音乐主题Always1.8使用教程
html5 3pc28在哪玩D旋转木马幻灯片播放代码素材手机网投大平台第一步:上传安装主题。(通过wordpress后台上传添加主题后启用。)第二步:设置菜单。进入 wp 后台找到“外观”-> “菜单”->“创建新菜单”,然后从左侧的页面或者分类目录中选择相...
阅读更多