最新下载
24小时阅读排行榜
- 1 小黑盒加速器官方下载_小黑盒游戏加速器最新版
- 2 mc.js网页版在线玩 mc.js游戏世界入口
- 3 Edge浏览器收藏网页的快捷键
- 4 VSCode用户设置同步功能
- 5 联想ThinkPlus真无线和摩托罗拉VerveBuds哪款更耐用_联想与摩托罗拉蓝牙耳机综合对比
- 6 芒果发黑还能吃吗 芒果坏了如何辨别
- 7 如何为Laravel创建自定义命令_Artisan自定义命令行工具开发
- 8 vscode怎么用git比较分支差异_vscode比较两个git分支之间差异的方法
- 9 iPhone17Pro怎样查看存储空间_iPhone17Pro存储占用情况查看与清理方法
- 10 windows10如何设置文件夹背景颜色或图片_windows10文件夹背景自定义方法
- 11 Go语言:高效实现IP地址范围检查
- 12 edge浏览器启动时如何恢复上次的会话_Edge自动恢复标签页设置
- 13 php调用内存优化技巧_php调用垃圾回收机制优化
- 14 Go语言中获取Map元素数量的正确姿势
- 15 c++中静态多态和动态多态的实现_c++编译期与运行期多态机制对比
最新教程
-
- Node.js 教程
- 7478 2025-08-28
-
- CSS3 教程
- 1050999 2025-08-27
-
- Rust 教程
- 11862 2025-08-27
-
- Vue 教程
- 14089 2025-08-22
-
- PostgreSQL 教程
- 10844 2025-08-21
-
- Git 教程
- 5166 2025-08-21
<style type="text/css">
.demo { padding: 2em 0; background: #fff; }
a:hover, a:focus { outline: none; text-decoration: none; }
.tab .nav-tabs { border-bottom: none; position: relative; }
.tab .nav-tabs li { margin-right: 60px; z-index: 1; }
.tab .nav-tabs li:after { content: ""; width: 100%; border: 1px solid #ccc6c6; position: absolute; top: 50%; right: -60%; z-index: -1; }
.tab .nav-tabs li:last-child:after { border: none; }
.tab .nav-tabs li a { display: block; padding: 15px 20px; background: #fff; font-size: 15px; font-weight: 600; color: #956cae; text-transform: uppercase; border-radius: 0; margin-right: 0; border: 2px solid #956cae; position: relative; overflow: hidden; z-index: 1; transition: all 0.3s ease 0s; }
.tab .nav-tabs li.active a, .tab .nav-tabs li a:hover { color: #fff; border: 2px solid #956cae; }
.tab .nav-tabs li a:after { content: ""; display: block; width: 100%; height: 0; position: absolute; top: 0; left: 0; z-index: -1; transition: all 0.3s ease 0s; }
.tab .nav-tabs li.active a:after, .tab .nav-tabs li a:hover:after { height: 100%; background: #956cae; }
.tab .tab-content { padding: 20px 10px; margin-top: 0; font-size: 14px; color: #999; line-height: 26px; }
.tab .tab-content h3 { font-size: 24px; margin-top: 0; }
@media only screen and (max-width: 767px) {
.tab .nav-tabs li { margin: 0 25px 0 0; }
}
@media only screen and (max-width: 479px) {
.tab .nav-tabs li { width: 100%; text-align: center; margin: 0 0 10px 0; }
.tab .nav-tabs li:after { width: 0; height: 100%; top: auto; bottom: -60%; right: 50%; }
}
</style>
这是一款基于jQuery+Bootstrap实现的滑动选项卡代码,简洁扁平风格个性选项卡切换特效,鼠标悬停时还有动画效果。

