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

基于bootstrap框架寫的垂直時(shí)間軸

時(shí)間:2025-03-09   訪問(wèn)量:0

基于bootstrap框架寫的垂直時(shí)間軸

先是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對(duì)1咨詢,專業(yè)客服為您解疑答惑
聯(lián)系銷售
15899750475
在線咨詢
聯(lián)系在線客服,為您解答所有的疑問(wèn)
主站蜘蛛池模板: 亚洲 欧美 中文 日韩| 英语老师的大白兔子又大又好吃| 国产免费久久久久久无码| 欧美老熟妇又粗又大| 国产精品内射后入合集| aa级女人大片| 每日更新在线观看av| 一个人的bd国语高清在线观看| 男人天堂av| 两个人的免费视频完整版| 久久精品国产亚洲精品2020| 国产美女亚洲精品久久久| 特级无码毛片免费视频尤物| 中文字幕久久精品一区二区三区| 国产网红无码精品视频| 亚洲自偷自拍另类| 亚洲欧美日韩综合一区二区| 宅男在线永久免费观看网直播| 樱花动漫在线观看入口| 公与淑婷厨房猛烈进出视频免费| 1插菊花综合网| 亚洲国产精品成人一区二区在线| 久久99九九精品久久久久齐齐| a在线视频| 在线观看高清| 国产精品久久久久影院老司| 国产激情| 99久久超碰中文字幕伊人| 十四以下岁毛片带血a级| 成全视频高清免费| 少妇的肉体k8经典| 欧洲freexxxx性播放| 亚洲v欧美v日韩v国产v| 美女露内裤扒开腿让男人桶无遮挡| 人妻放荡乱绿帽h文| 啊灬啊灬啊灬快灬深学长慢视频| 久久精品人人做人人爽老司机| 中文字幕日韩欧美一区二区三区| 欧美日韩不卡视频合集| 欧美贵妇videos办公室| 精品亚洲a∨无码一区二区三区|