Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
Card title
Image from unsplash
This grid is an attempt to make something nice that works on touch devices. Ignoring hover states when they're not available etc.
Read more
Card title
Image from unsplash
This grid is an attempt to make something nice that works on touch devices. Ignoring hover states when they're not available etc.
Read more
Card title
Image from unsplash
This grid is an attempt to make something nice that works on touch devices. Ignoring hover states when they're not available etc.
Read more
Card title
Image from unsplash
This grid is an attempt to make something nice that works on touch devices. Ignoring hover states when they're not available etc.
Read more
Card title
Image from unsplash
This grid is an attempt to make something nice that works on touch devices. Ignoring hover states when they're not available etc.
Read more
Card title
Image from unsplash
This grid is an attempt to make something nice that works on touch devices. Ignoring hover states when they're not available etc.
Read more
Card title
Image from unsplash
This grid is an attempt to make something nice that works on touch devices. Ignoring hover states when they're not available etc.
Read more
Card title
Image from unsplash
This grid is an attempt to make something nice that works on touch devices. Ignoring hover states when they're not available etc.
Read more
Card title
Image from unsplash
This grid is an attempt to make something nice that works on touch devices. Ignoring hover states when they're not available etc.
Read more
css
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 200; src: url(https://fonts.gstatic.com/s/sourcesanspro/v14/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wlxdr.ttf) format('truetype'); } @font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 300; src: url(https://fonts.gstatic.com/s/sourcesanspro/v14/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdr.ttf) format('truetype'); } @font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; src: url(https://fonts.gstatic.com/s/sourcesanspro/v14/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7g.ttf) format('truetype'); } @font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 600; src: url(https://fonts.gstatic.com/s/sourcesanspro/v14/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdr.ttf) format('truetype'); } @font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 700; src: url(https://fonts.gstatic.com/s/sourcesanspro/v14/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdr.ttf) format('truetype'); } @font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 900; src: url(https://fonts.gstatic.com/s/sourcesanspro/v14/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwlxdr.ttf) format('truetype'); } body { background: #dce1df; color: #4f585e; font-family: 'Source Sans Pro', sans-serif; text-rendering: optimizeLegibility; } a.btn { background: #0096a0; border-radius: 4px; box-shadow: 0 2px 0px 0 rgba(0, 0, 0, 0.25); color: #ffffff; display: inline-block; padding: 6px 30px 8px; position: relative; text-decoration: none; transition: all 0.1s 0s ease-out; } .no-touch a.btn:hover { background: #00a2ad; box-shadow: 0px 8px 2px 0 rgba(0, 0, 0, 0.075); transform: translateY(-2px); transition: all 0.25s 0s ease-out; } .no-touch a.btn:active, a.btn:active { background: #008a93; box-shadow: 0 1px 0px 0 rgba(255, 255, 255, 0.25); transform: translate3d(0, 1px, 0); transition: all 0.025s 0s ease-out; } div.cards { margin: 80px auto; max-width: 960px; text-align: center; } div.card { background: #ffffff; display: inline-block; margin: 8px; max-width: 300px; perspective: 1000; position: relative; text-align: left; transition: all 0.3s 0s ease-in; width: 300px; z-index: 1; } div.card img { max-width: 300px; } div.card .card__image-holder { background: rgba(0, 0, 0, 0.1); height: 0; padding-bottom: 75%; } div.card div.card-title { background: #ffffff; padding: 6px 15px 10px; position: relative; z-index: 0; } div.card div.card-title a.toggle-info { border-radius: 32px; height: 32px; padding: 0; position: absolute; right: 15px; top: 10px; width: 32px; } div.card div.card-title a.toggle-info span { background: #ffffff; display: block; height: 2px; position: absolute; top: 16px; transition: all 0.15s 0s ease-out; width: 12px; } div.card div.card-title a.toggle-info span.left { right: 14px; transform: rotate(45deg); } div.card div.card-title a.toggle-info span.right { left: 14px; transform: rotate(-45deg); } div.card div.card-title h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.05em; margin: 0; padding: 0; } div.card div.card-title h2 small { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.025em; } div.card div.card-description { padding: 0 15px 10px; position: relative; font-size: 14px; } div.card div.card-actions { box-shadow: 0 2px 0px 0 rgba(0, 0, 0, 0.075); padding: 10px 15px 20px; text-align: center; } div.card div.card-flap { background: #d9d9d9; position: absolute; width: 100%; transform-origin: top; transform: rotateX(-90deg); } div.card div.flap1 { transition: all 0.3s 0.3s ease-out; z-index: -1; } div.card div.flap2 { transition: all 0.3s 0s ease-out; z-index: -2; } div.cards.showing div.card { cursor: pointer; opacity: 0.6; transform: scale(0.88); } .no-touch div.cards.showing div.card:hover { opacity: 0.94; transform: scale(0.92); } div.card.show { opacity: 1 !important; transform: scale(1) !important; } div.card.show div.card-title a.toggle-info { background: #ff6666 !important; } div.card.show div.card-title a.toggle-info span { top: 15px; } div.card.show div.card-title a.toggle-info span.left { right: 10px; } div.card.show div.card-title a.toggle-info span.right { left: 10px; } div.card.show div.card-flap { background: #ffffff; transform: rotateX(0deg); } div.card.show div.flap1 { transition: all 0.3s 0s ease-out; } div.card.show div.flap2 { transition: all 0.3s 0.2s ease-out; }
JavaScript
$(document).ready(function(){ var zindex = 10; $("div.card").click(function(e){ e.preventDefault(); var isShowing = false; if ($(this).hasClass("show")) { isShowing = true } if ($("div.cards").hasClass("showing")) { // a card is already in view $("div.card.show") .removeClass("show"); if (isShowing) { // this card was showing - reset the grid $("div.cards") .removeClass("showing"); } else { // this card isn't showing - get in with it $(this) .css({zIndex: zindex}) .addClass("show"); } zindex++; } else { // no cards in view $("div.cards") .addClass("showing"); $(this) .css({zIndex:zindex}) .addClass("show"); zindex++; } }); });
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>3D折叠显示-jq22.com</title> <script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script> <style>
</style> </head> <body>
<script>
</script>
</body> </html>
2012-2021 jQuery插件库版权所有
jquery插件
|
jq22工具库
|
网页技术
|
广告合作
|
在线反馈
|
版权声明
沪ICP备13043785号-1
浙公网安备 33041102000314号