日本老熟妇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   訪問量: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)系在線客服,為您解答所有的疑問
主站蜘蛛池模板: 国产精品自在在线午夜| 国产公开免费人成视频| 好男人好资源电影在线播放 | 亚洲一二三区中文字幕| 日韩加勒比一本无码精品| 国精品午夜福利视频不卡麻豆| 亚洲av成人综合网在线观看| 色婷婷av一区二区三区| 欧美z0zo人禽交| tobu8日本高清在线观看| 性xxxx视频播放免费| 《特殊的精油按摩》3| 国产精品自在在线午夜出白浆| 玩弄丰满少妇视频| 国产精品久久久久久无毒不卡| 成全免费观看完整电视电影| 亚洲av日韩av综合在线观看| 亚洲人成绝费网站色www吃脚 | 岛国av无码免费无禁网站| 天天爽夜夜爽夜夜爽精品视频| 性色av极品无码专区亚洲| 欧美男男大粗吊1069| 精产国品一二三产区别手机| 久久亚洲av成人无码| 欧美最猛性xxxxx大叫| 3d动漫精品啪啪一区二区免费| 国产农村乱子伦精品视频| 乱码一卡二卡新区永久入口| 亚洲欧美自偷自拍另类小说| 久久久午夜精品福利内容| 欧美熟妇brazzers| 亚洲精品久久久久中文字幕一区| 在线看片免费人成视频久网下载| 最新色国产精品精品视频| 久久精品国产99久久久小说| 国产亚洲国际精品福利| 疯狂添女人下部视频免费| 亚洲精品一卡2卡3卡四卡乱码| 亚洲中文字幕av一区二区三区| 美女被扒开腿用震蛋器折磨| 四虎永久在线精品免费网址|