摘要: 左边是label, 右边是input。 设置父级为display:flex; input为flex:1; 然后label 为 white-space: nowrap; 这时input就有可能超出父级。 解决方法是把input设置为width:0;就可以了; 阅读全文
posted @ 2018-04-11 10:44 赤い蝶 阅读(6602) 评论(1) 推荐(0) 编辑