日本老熟妇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在线观看| 无码av波多野结衣久久| 起碰免费公开97在线视频| 欧美猛少妇色xxxxx猛叫| 丰满少妇被猛烈进入毛片| 好深好爽办公室做视频| √天堂中文官网8在线| 无码国产精品一区二区免费式影视| 久久国产精品99夜夜嗨| 亚洲狠狠做深爱婷婷影院| 99久久国产综合精麻豆| 国产免费av片在线观看| 18禁男女爽爽爽午夜网站免费| 国产一区二区三区四区精华液毛 | 精品福利视频一区二区三区| 精精国产xxx在线观看| 两个黑人挺进校花体内np| 人摸人人人澡人人超碰97| 无码一区二区三区爆白浆| 久久久一本精品99久久精品66| 久久久久久亚洲av无码专区| 日本动漫瀑乳h动漫啪啪免费| 国产成人综合在线女婷五月99播放| 理论电影在线观看| 中国免费毛片网络| 荫蒂添的好舒服视频| 中文字幕 日韩精品 在线| 国产日韩成人内射视频| 欧美40老熟妇色xxxxx| 欧美性猛交xxxx乱大交| 国产精品久久久一区二区三区 | 亚洲欧美乱日韩乱国产| 亚洲∧v久久久无码精品| 啦啦啦啦www日本在线观看 | 久久婷婷五月综合色欧美| 西西444www无码大胆| 男人j放进女人p全黄| 两个人免费视频全集在线观看| 性xxxx欧美老妇胖老太肥肥 | 免费男人脱女人的裤衩和奶罩|