@media(min-width:451px){ .layui-form-item{display:flex;align-items:center;} .layui-form-label{flex:0 0 auto;width:auto !important;min-width:120px;} .layui-form-pane .layui-input-block{flex:1;margin-left:-1px;} }
效果如下图: