关于在bootstrap中如何做垂直排列的tab切换效果
生活随笔
收集整理的這篇文章主要介紹了
关于在bootstrap中如何做垂直排列的tab切换效果
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
話不多說,先上效果圖
如何實現這種列向的tab切換呢,我圖片用的字體圖標,隨便自己
html代碼
css代碼
#news{padding:50px 0} #news .news-title{padding:20px 0px;font-size:18px;font-weight:400;text-align: center;border-bottom:1px dashed #c0c0c0;position:relative;margin-right:10px; } #news .news-title::after{content:'';display: inline-block;width: 10px;height: 10px;border-radius: 5px;border:1px solid #c0c0c0;position:absolute;bottom:-5px;right:-10px; } .icon-news01::before{content:'\e90e';font-size: 28px;color:#EAEAEA; } .icon-news02::before{content:'\e90f';font-size: 28px;color:#EAEAEA; } .icon-news03::before{content:'\e910';font-size: 28px;color:#EAEAEA; } .icon-news04::before{content:'\e911';font-size: 28px;color:#EAEAEA; }總結
以上是生活随笔為你收集整理的关于在bootstrap中如何做垂直排列的tab切换效果的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 刺客信条奥德赛罗可里斯要塞在哪
- 下一篇: 什么手机吃鸡能开超高清