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

基于bootstrap框架寫(xiě)的垂直時(shí)間軸

時(shí)間:2025-03-09   訪(fǎng)問(wèn)量:0

基于bootstrap框架寫(xiě)的垂直時(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ù)咨詢(xún)
1對(duì)1咨詢(xún),專(zhuān)業(yè)客服為您解疑答惑
聯(lián)系銷(xiāo)售
15899750475
在線(xiàn)咨詢(xún)
聯(lián)系在線(xiàn)客服,為您解答所有的疑問(wèn)
主站蜘蛛池模板: 日日狠狠久久8888偷偷色| 久久天天躁狠狠躁夜夜avapp| 中国少妇内射xxxxⅹ| 51久久精品人人搡人人玩| 忘记穿内裤被同桌摸到高潮app| 野花免费社区在线| 日本xx13一18处交高清| 性生交大片免费观看| 欧洲美熟女乱又伦av| 日韩免费无码一区二区三区| 国产日韩欧美| 人妻[21p]大胆| 国产av无码专区亚洲av软件| 夫妻免费无码v看片| 中文字幕乱码人妻综合二区三区| 国产精品亚洲产品三区| av在线 亚洲 天堂| 99久久综合狠狠综合久久aⅴ| 国产成人精品日本亚洲77上位| japanese日本xxxxhd| 国产丰满乱子伦无码专区| 啊灬啊灬啊灬快好深| 国产综合久久久久久鬼色| 中文字幕大看焦在线看| 啊灬啊灬啊灬快灬深学长慢视频| 国产精品久久久久电影院| 精品一线二线三线精华液| 少妇三级全黄| 中文在线√天堂| 特殊精油按摩2| 亚洲婷婷综合色高清在线| 亚洲国产成人久久精品app | 麻麻丰满的大屁股| 女人高潮被爽到呻吟在线观看 | 亚洲美女高潮久久久久| 人妻中文字幕无码专区| 中老年熟妇激情啪啪大屁股| 特种兵初尝禁果h高肉1v1| 十七岁日本电影免费粤语| 国产成人精品手机在线观看 | 亚洲aⅴ在线无码播放毛片一线天|