日本老熟妇maturebbw,最近中文mv字幕免费高清在线7,yy6080久久伦理一区二区,中文字幕人妻av一区二区,成人免费无码av,亚州av综合色区无码一区,日本xxwwwxxxx18,入室强伦轩人妻电影
284292114@qq.com 中國站
行業(yè)新聞 網(wǎng)站建設(shè) 網(wǎng)絡(luò)推廣 首頁>新聞中心>網(wǎng)站建設(shè)

基于bootstrap框架寫的垂直時間軸

時間:2025-03-09   訪問量:0

基于bootstrap框架寫的垂直時間軸

先是HTML代碼,循環(huán)輸出數(shù)據(jù):

    <div class="story-box">
          {hmcms:list num=20   order='sorting asc,id asc'  page=0}              
        <div class="story-list-box wow fadeInUp" >
              <div class="num ">[list:title]</div>
              <div class="year fs-28">[list:title]年</div>
              <div class="fs-16">[list:content]</div>

              <div class="time-line"></div>
          </div>
          {/hmcms:list}
      </div>


然后是CSS:

/*******發(fā)展歷程************************/

 
.story-box{
       background: url(../images/storybg.png) top center repeat-y;
    }

.story-list-box{
         position: relative;
        padding: 89px 30px 63px 30px;
        box-shadow: 0 0 24px rgba(18, 35, 62, 0.05);
        background-color: #ffffff;
        z-index: 2;
        text-align: center;
        border-radius: 30px;
        margin-bottom: 30px;
        width:45%;    
    }
    .story-list-box .time-line{
         position: absolute;
         right: -110px;
         top:100px;
         width: 80px;
         height: 80px;
         overflow: hidden;
         
    }
    
.story-list-box .time-line::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 10px;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 40px solid #16619E;
}


.story-list-box:nth-child(2n) .time-line:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 40px; 
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 40px solid #16619E; /* 改成 border-left 實(shí)現(xiàn)反向三角 */
}

    .story-list-box:nth-child(2n){
        margin-left:55%
    }

    .story-list-box:nth-child(2n) .time-line{
        right:auto;
        left:-120px;
    }

    .story-list-box .num{
           position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #F4F8FF;
    font-size: 160px;
    line-height: 1;
    z-index: -1;
    font-family: 'enbold';
    }

    .story-list-box .year{
      line-height: 38px;
    color: #333333;
    margin-bottom: 20px;
    font-family: 'enbold';
    }


最終效果是左右排列:

image.png

服務(wù)咨詢
1對1咨詢,專業(yè)客服為您解疑答惑
聯(lián)系銷售
15899750475
在線咨詢
聯(lián)系在線客服,為您解答所有的疑問
主站蜘蛛池模板: 好姑娘高清在线看国语| 夜夜嗨av一区二区三区| 中文字幕色av一区二区三区| 在线观看免费视频| 国产精品日韩欧美一区二区三区| 亚洲最大中文字幕无码网站 | 中文字幕熟女人妻佐佐木| 亚洲精品无码国产| 日欧片内射av影院频道| 亚洲日韩中文字幕无码一区| 99久久伊人精品综合观看| china丰满人妻videoshd| 人与禽交av在线播放| 亚洲中文有码字幕青青| 小姑娘在线观看免费版| 国产精品沙发午睡系列999| 中美日韩毛片免费观看| 99久久国产综合精品女图图等你| 免费观看欧美成人aa片爱我多深| 亚洲精品一区久久久久一品av| 成人性生交大片免费看vr| 狠狠色噜噜狠狠狠狠888奇禾 | 3p国产对白刺激在线视频| 国产又粗又猛又爽又黄的视频在线观看动漫 | 国产精品人人做人人爽人人添| 噼里啪啦完整版中文在线观看 | 国产92成人精品视频免费 | 性色av无码久久一区二区三区| 我在厨房摸岳的乳hd在线观看| 欧美性猛交xxx嘿人猛交| 男女18禁啪啪无遮挡激烈| 最近2019年好看中文字幕视频| 欧美疯狂黑人xxxxbbbb| 女人被狂躁的高潮免费视频| 四川少妇大战4黑人| 在教室伦流澡到高潮hnp| 亚洲不乱码卡一卡二卡4卡5| 欧美性暴力变态xxxx| 老妇肥熟凸凹丰满刺激| 亚洲av久久电影| 熟妇女人妻丰满少妇中文字幕|