亚洲最大看欧美片,亚洲图揄拍自拍另类图片,欧美精品v国产精品v呦,日本在线精品视频免费

  • 站長資訊網(wǎng)
    最全最豐富的資訊網(wǎng)站

    詳解css3 flex彈性盒自動鋪滿寫法

    這篇文章主要介紹了詳解css3 flex彈性盒自動鋪滿寫法,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧。

    本文主要介紹了詳解css3 flex彈性盒自動鋪滿寫法,分享給大家,具體如下:

    <style type=”text/css”>
    .flexcontainer{
    width:100%;
    height: 100%;
    position: absolute;
    left:0px;
    top:0px;
    display: flex;
    flex-direction: column;
    }
    .flex1 {
    width: 100%;
    height: 8rem;
    float: left;
    background: #f00;

    }
    .flex2 {
    width: 100%;
    height: 4rem;
    flex:1;
    float: left;
    background: #000;
    }
    .flex3 {
    width: 100%;
    height: 7rem;
    float: left;
    background: #ccc;
    }
    </style>
    <div class=”flexcontainer”>
    <div class=”flex1″></div>
    <div class=”flex2″></div>
    <div class=”flex3″></div>
    </div>

    到此這篇關(guān)于詳解css3 flex彈性盒自動鋪滿寫法的文章就介紹到這了,更多相關(guān)css3 flex 自動鋪滿內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持腳本之家!

    文章來源:腳本之家,原文鏈接:https://www.jb51.net/css/745503.html

    詳解css3 flex彈性盒自動鋪滿寫法

    申請創(chuàng)業(yè)報道,分享創(chuàng)業(yè)好點(diǎn)子。點(diǎn)擊此處,共同探討創(chuàng)業(yè)新機(jī)遇!

    贊(0)
    分享到: 更多 (0)
    網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號