日本老熟妇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 實現(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)系在線客服,為您解答所有的疑問
主站蜘蛛池模板: 国产香蕉97碰碰视频碰碰看| 国产午夜福利精品久久2021| 亚洲av日韩av一区谷露| 中字幕一区二区三区乱码| 野花免费社区在线| 亚洲欧美日韩国产成人| 亚洲精品久久久久高潮| 中国护士18xxxxhd| 玩丰满熟妇xxxx视频| 国产午夜精品免费一区二区三区 | 亚洲av乱码中文一区二区三区| 丁香五月综合久久激情| 夜夜躁狠狠躁日日躁202| 色综合网天天综合色中文| 国产一区二区三区在线观看免费| 武松吃潘金莲的奶头a级| 天堂bt种子资源在线www| 硬汉视频在线观看免费完整版| 国产呻吟久久久久久久92| 欧美黑人巨大xxxxx| gogogo高清在线观看+视频| 神马影院在线视频观看| 两个人看的www高清免费中文| 无码人妻久久一区二区三区免费丨| 国产人妻精品一区二区三区不卡| 亚洲国产日韩欧美综合a| 老熟女高潮喷了| 俄罗斯胖老妇bbw性生| 在丈夫面前被侵犯| 99国产精品99久久久久久| 天堂在线| 最近中文av字幕在线中文| 最近更新2019中文字幕高清| 少妇洁白无删减版178txt| 借妻中文字幕高清| 丰满年轻岳欲乱中文字幕电视| 诱人的奶头bd在线观看| 日韩av午夜在线观看| 国产精品自在欧美一区| 男女裸交无遮挡啪啪激烈| 亚洲av乱码一区二区三区|