您现在的位置是:html5 3问鼎下载软件D旋转木马幻灯片播放代码素材极速赛车大数据分析软件 >>正文
html5 3问鼎下载软件D旋转木马幻灯片播放代码素材极速赛车大数据分析软件
人心所向网14人已围观
简介css样式* { margin: 0; padding: 0;}html,body { height: 100%;}body { overflow: hidden; display: fle...
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基于css3制作多张图片环形布局,插入mp4视问极速赛车大数据分析软件鼎下载软件频和图片幻灯片播放一、支持鼠标拖动旋转,
html5 3D旋转木马幻灯片播放代码素材,3D旋问极速赛车大数据分析软件鼎下载软件转木马动画特效。
Tags:
下一篇:html5常用标签定义及使用说明
相关文章
JavaScript时间与日期(Date类型)
html5 3问鼎下载软件D旋转木马幻灯片播放代码素材极速赛车大数据分析软件ECMAScript提供了Date类型来处理时间和日期。Date类型内置一系列获取和设置日期时间信息的方法。一、Date类型ECMAScript中的Date类型是在早期Java 中 java.util...
阅读更多
SEO搜索引擎的起源/发展
html5 3问鼎下载软件D旋转木马幻灯片播放代码素材极速赛车大数据分析软件起源: 1990年以前,没有任何人能搜索互联网。 所有搜索引擎的祖先,是1990年由(加拿大的蒙特利尔)的一名大学生发明一个可以用文件名查找文件的系统,于是便有了第一个自动索引互联网上匿名FTP网站文...
阅读更多
圆形滚动404动画页面特效
html5 3问鼎下载软件D旋转木马幻灯片播放代码素材极速赛车大数据分析软件每个网站都有404提示页面, 这是一款无论从设计到配色都是很好看的404动态提示页面,配合动态404文字,有不错的直觉感受。圆形几何视差滚动404动画页面特效.来移动鼠标跟着404页面一起抖动吧。演示...
阅读更多