码迷,mamicode.com
首页 > 其他好文 > 详细

弹性布局

时间:2019-01-14 10:55:16      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:out   boot   none   gre   弹性   bootstra   ack   round   --   

.test {
    font-size: 40px;
    color: yellow;
}
.box {
    padding: 0 30px;
}

.ul0 {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.li0 {
    /* width: 150px; */
    flex: 1;
    /* height: 200px; */
    /* background-color: silver; */
    border:1px dashed silver; s
margin: 6px;
}

.ul1 {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.li1 {
    box-sizing: border-box;
    flex: 1;
    height: 100px;

    background-color: green;
    margin: 4px 4px;

}
        <div class="box">
            <ul class="ul0">
                <li class="li0">
                    <ul class="ul1">
                        <li class="li1"></li>
                        <li class="li1"></li>
                    </ul>
                    <ul class="ul1">
                        <li class="li1"></li>
                        <li class="li1"></li>
                    </ul>
                </li>
                <li class="li0">
                    <ul class="ul1">
                        <li class="li1"></li>
                        <li class="li1"></li>
                    </ul>
                    <ul class="ul1">
                        <li class="li1"></li>
                        <li class="li1"></li>
                    </ul>
                </li>
                <li class="li0">
                    <ul class="ul1">
                        <li class="li1"></li>
                        <li class="li1"></li>
                    </ul>
                    <ul class="ul1">
                        <li class="li1"></li>
                        <li class="li1"></li>
                    </ul>
                </li>
                <!-- <li></li> -->
            </ul>

        </div>

 

npm install angular@1.5.0
npm install angular-route@1.5.0
npm install angular-ui-bootstrap@2.5.6
npm install bootstrap@3.3.7

 

 

 

弹性布局

标签:out   boot   none   gre   弹性   bootstra   ack   round   --   

原文地址:https://www.cnblogs.com/DZzzz/p/10265055.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!