Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
Bunker
Balthazar
4.05
Words Remain
Moderator
4.05
Falling Out
Otzeki
4.05
css
@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap"); * { box-sizing: border-box; } html, body { margin: 0; padding: 0; width: 100%; height: 100%; } body { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; padding: 30px 10px; font-family: 'DM Sans', sans-serif; -webkit-transition: background .4s ease-in; transition: background .4s ease-in; background-color: #1F1F1F; } body.blue { background-color: #428aa6; } input[type=radio] { display: none; } .card { position: absolute; width: 60%; height: 100%; left: 0; right: 0; margin: auto; -webkit-transition: -webkit-transform .4s ease; transition: -webkit-transform .4s ease; transition: transform .4s ease; transition: transform .4s ease, -webkit-transform .4s ease; cursor: pointer; } .container { width: 100%; max-width: 800px; max-height: 600px; height: 100%; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; display: -webkit-box; display: flex; -webkit-box-pack: center; justify-content: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; -webkit-box-align: center; align-items: center; } .cards { position: relative; width: 100%; height: 100%; margin-bottom: 20px; } img { width: 100%; height: 100%; border-radius: 10px; -o-object-fit: cover; object-fit: cover; } #item-1:checked ~ .cards #song-3, #item-2:checked ~ .cards #song-1, #item-3:checked ~ .cards #song-2 { -webkit-transform: translatex(-40%) scale(0.8); transform: translatex(-40%) scale(0.8); opacity: .4; z-index: 0; } #item-1:checked ~ .cards #song-2, #item-2:checked ~ .cards #song-3, #item-3:checked ~ .cards #song-1 { -webkit-transform: translatex(40%) scale(0.8); transform: translatex(40%) scale(0.8); opacity: .4; z-index: 0; } #item-1:checked ~ .cards #song-1, #item-2:checked ~ .cards #song-2, #item-3:checked ~ .cards #song-3 { -webkit-transform: translatex(0) scale(1); transform: translatex(0) scale(1); opacity: 1; z-index: 1; } #item-1:checked ~ .cards #song-1 img, #item-2:checked ~ .cards #song-2 img, #item-3:checked ~ .cards #song-3 img { box-shadow: 0px 0px 5px 0px rgba(81, 81, 81, 0.47); } .player { background-color: #fff; border-radius: 8px; min-width: 320px; padding: 16px 10px; } .upper-part { position: relative; display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; margin-bottom: 12px; height: 36px; overflow: hidden; } .play-icon { margin-right: 10px; } .song-info { width: 100%; display: block; } .song-info .title { color: #403d40; font-size: 14px; line-height: 24px; } .sub-line { display: -webkit-box; display: flex; -webkit-box-pack: justify; justify-content: space-between; width: 100%; } .subtitle, .time { font-size: 12px; line-height: 16px; color: #c6c5c6; } .time { font-size: 12px; line-height: 16px; color: #a5a5a5; font-weight: 500; margin-left: auto; } .progress-bar { height: 3px; width: 100%; background-color: #e9efff; border-radius: 2px; overflow: hidden; } .progress { display: block; position: relative; width: 60%; height: 100%; background-color: #2992dc; border-radius: 6px; } .info-area { width: 100%; position: absolute; top: 0; left: 30px; -webkit-transition: -webkit-transform .4s ease-in; transition: -webkit-transform .4s ease-in; transition: transform .4s ease-in; transition: transform .4s ease-in, -webkit-transform .4s ease-in; } #item-2:checked ~ .player #test { -webkit-transform: translateY(0); transform: translateY(0); } #item-2:checked ~ .player #test { -webkit-transform: translateY(-40px); transform: translateY(-40px); } #item-3:checked ~ .player #test { -webkit-transform: translateY(-80px); transform: translateY(-80px); }
JavaScript
$('input').on('change', function() { $('body').toggleClass('blue'); });
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>播放列表轮播-仅限CSS-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号