控制单个el-form-item宽度
时间: 2023-12-06 21:04:11 浏览: 85
你可以在 el-form-item 的样式中设置 width 属性来控制单个 el-form-item 的宽度。例如,你可以在样式表中添加以下代码:
.el-form-item {
width: 300px;
}
这样就可以将单个 el-form-item 的宽度设置为 300 像素。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [el-form-item设置长度](https://blog.csdn.net/weixin_42608318/article/details/129577508)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [19-按键控制单个数码管显示(51单片机C语言实例Proteus仿真和代码)](https://download.csdn.net/download/s13166803785/85642846)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文