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

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

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

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

先是HTML代碼,循環輸出數據:

    <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:

/*******發展歷程************************/

 
.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 實現反向三角 */
}

    .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

服務咨詢
1對1咨詢,專業客服為您解疑答惑
聯系銷售
15899750475
在線咨詢
聯系在線客服,為您解答所有的疑問
主站蜘蛛池模板: 亚洲国产精品久久久久婷婷老年| 日日碰狠狠添天天爽| 青檬在线电视剧在线观看| 亚洲加勒比无码一区二区| 中文字幕一卡二卡三卡| 在线观看激情av一区二区| 国产精品va尤物在线观看| 中文毛片无遮挡高清免费| 国产精品亚洲日韩欧美色窝窝色欲| 高清国产一区二区三区在线| 亚洲 制服 av| 97视频在线精品国自产拍| 国产69精品久久久久久久| 国产精品无码永久免费不卡| 人人婷婷人人澡人人爽| 美女张开腿黄网站免费下载| 国产偷人妻精品一区| 成人亚洲一区二区三区在线| 婷婷久久综合九色综合88| 蜜臀av久久国产午夜福利软件| 少女大人免费观看| 最近中文字幕完整版2019| 亚洲卡1卡2卡三卡4卡5卡6卡| 老女人老熟女亚洲| 国产高清不卡免费视频| 一个人在线观看的www视频日本| 免费看男女做羞羞的事网站| 人妻夜夜爽天天爽三区麻豆av网站 | 调教我的妺妺h肉yin荡视频| 被添出水全过程免费视频| 国产在线精品欧美日韩电影 | 亚洲av综合aⅴ国产av中文| 小小的日本在线观看| 两个人视频www| 18禁超污无遮挡无码免费网站国产 | 美女裸体18禁免费网站| 久久亚洲精品成人av| 同性男男gay片在线观看播放| 星空影院免费观看电影| 精品乱码卡1卡2卡3免费开放| 亚洲色偷偷av|