好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

移动端css/html(box-flex)自适应、等比布局_html/css_WEB-ITnose

移动端 css/html (box-flex)自适应、等比布局

对于移动端自适应的一种布局方式。

                                                         .boxcontainer{            display: box;            display: -moz-box;            display: -webkit-box;            border: 1px solid red;            height: 32px;            min-width: 100px;        }        .boxcontainer>div{            box-flex: 1;            -webkit-box-flex: 1;            -moz-box-flex: 1;        }        .boxcontainer>div>input{            min-width: 50px;            width: 100%;            box-sizing: border-box;            height: 32px;            border: 0;        }        .boxcontainer>a{            min-width: 50px;            display: inline-block;            border: 1px solid red;            height: 32px;            line-height: 28px;            text-align: center;        }                  

查看更多关于移动端css/html(box-flex)自适应、等比布局_html/css_WEB-ITnose的详细内容...

  阅读:32次