日本老熟妇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
在線咨詢
聯系在線客服,為您解答所有的疑問
主站蜘蛛池模板: 欧美性猛交xxxxx按摩欧美| 亚洲欧美日韩成人一区在线| 中国丰满熟妇xxxx| 国内精品免费久久久久电影院97| 忘忧草www日本韩国| 96国产xxxx免费视频| 给我免费播放的电影在线观看| 性xxxx视频播放| 亚洲精品成人网久久久久久| 电影天堂 小调网| 诱人的老师hd中字| av片在线观看| 日韩国产精品无码一区二区三区| 最新中文字幕av无码专区| 疯狂做受xxxx高潮欧美日本 | 啦啦啦www免费高清在线观看视频| 又黄又爽又色的视频| 两个人看的www高清免费中文| 五月综合激情婷婷六月色窝| 校园春色另类小说| 亚洲精品你懂的在线观看| 性色av一二三天美传媒| 中文字幕久无码免费久久| 久久国产精品二国产精品| 东北少妇不带套对白| 亚洲av无码一区二区乱子仑| 香港三级午夜理论三级| 试看120秒做受小视频免费| 无遮挡色视频免费观看| 99精品国产一区二区三区| 久久人人做人人爽人人av | 色综合伊人色综合网站无码| 国产六月婷婷爱在线观看| 少妇伦子伦情品无吗| 精品国产三级a在线观看| 无码人妻丰满熟妇区毛片18| 亚洲精品有码在线观看| 欧美多人乱大交xxxxx变态| 亚洲成av人无码中文字幕| 最近最新中文字幕视频| 1313午夜精品理论片|