el-form-item右对齐
时间: 2023-09-14 10:12:49 浏览: 201
要将el-form-item右对齐,可以使用CSS样式来实现。根据引用中的描述,可以添加以下代码到你的CSS文件中:
```css
.register_btn {
position: absolute;
right: 0%;
}
```
这样,注册按钮就会靠右对齐了。请注意,上述代码中的.register_btn是注册按钮的类名,你可以根据你的实际情况修改类名。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [vue的el-form-item标签的label展示名称左右对齐](https://blog.csdn.net/weixin_43564923/article/details/103409055)[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_1"}}] [.reference_item style="max-width: 50%"]
- *3* [el-form-item内让元素靠右](https://blog.csdn.net/qq_49385719/article/details/129320345)[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_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文