日本老熟妇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一区最新精品| 丁香花免费观看完整视频| 别揉我奶头~嗯~啊~动漫网站| 日本丰满护士bbw| 他扒开我小泬添我视频| 在线精品亚洲一区二区绿巨人| 亚洲一卡2卡3卡4卡+老狼| 在线观看成人网站| 国产精品h片在线播放| 亚洲国产一区二区三区亚瑟| 亚洲av永久无码精品网站色欲 | 欧美最猛性xxxxx69交| 久产久精国九品| 国产精品亚洲w码日韩中文| 精品国产自在久久现线拍| 国产欧美久久久精品影院| 99久久国产综合精品五月天| 德国free性video极品| 四虎影视免费观看高清视频| 亚洲成av人片在线观看无码| √天堂资源中文www| 中文字幕人妻丝袜美腿乱| 人禽伦免费交视频播放| 午夜dj高清免费观看视频| 秋霞在线观看秋| xxxxwwww中国| 国产亚洲精品久久7788| 亚洲av成人无码精品直播在线| 色翁荡熄又大又硬又粗又动态图| 久久久一本精品99久久精品88| 人妻洗澡被强公日日澡电影| 欧美xxxx做受欧美.88| 亚洲av蜜桃永久无码精品| 伊人久久一区二区三区四区 | ysl蜜桃色成人| 96国产xxxx免费视频| 国产欧美日韩一区二区三区在线| 国产成人精品一区二三区在线观看| 亚洲婷婷综合色香五月| 两个人看www在线视频| 亚洲一码二码三码精华液|