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

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

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

基于bootstrap框架寫(xiě)的垂直時(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ù)咨詢(xún)
1對(duì)1咨詢(xún),專(zhuān)業(yè)客服為您解疑答惑
聯(lián)系銷(xiāo)售
15899750475
在線咨詢(xún)
聯(lián)系在線客服,為您解答所有的疑問(wèn)
主站蜘蛛池模板: jizzjⅰzz亚洲大全| 好姑娘3免费高清观看| 97超级碰碰碰碰久久久久| 中文毛片无遮挡高清免费| 久久精品人妻一区二区三区| 一区二区三区国产| 中文字幕精品久久久久人妻| 夜夜嗨av一区二区三区| 亚洲午夜精品久久久久久浪潮| 高h喷水荡肉爽文np| 中文字幕人妻高清乱码| 国产三级+在线播放| 18岁日韩内射颜射午夜久久成人| 久久久久成人精品无码| 亚洲精品成人网久久久久久| 中文字幕v亚洲日本| 国产精自产拍久久久久久蜜| 国产一区二区内射最近更新 | 国产av无码专区亚洲a∨毛片| 丝袜+欧美+国产| 东京热中文字幕aⅴ专区| 国内揄拍国内精品人妻| 国产成人av免费观看| 色综合中文字幕久久88| 丁香花免费观看完整视频| 国产精品夜间视频香蕉| 天天躁日日躁aaaaxxxx| 欧洲美女图片| 亚洲综合无码精品一区二区三区| 国产精品亚洲片在线观看不卡| 亚洲av最新天堂网址| 日韩精品一区二区三区色欲av| 综合亚洲另类欧美久久成人精品| 最近在线更新8中文字幕免费| 成熟人妻av无码专区| 亚洲国产精品久久电影欧美 | 70歳の熟女セックス合集| 国产70老熟女重口小伙子| 挺进邻居人妻雪白的身体韩国电影| 机机对机机30分钟免费看| 久久久久免费看成人影片|