elementui分割线粗细
时间: 2023-09-03 15:12:28 浏览: 503
ReclyclerView去掉最后一个条目分割线
3星 · 编辑精心推荐
elementui分割线的粗细可以通过设置其属性`border-width`来实现。默认情况下,分割线的粗细为1像素。如果您想要更改分割线的粗细,可以使用以下代码:
```
<el-divider :border-width="2"></el-divider>
```
在上面的代码中,将 `border-width` 属性设置为2,将使分割线显示为2像素宽。您可以根据需要调整该值来改变分割线的粗细。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [【elementUI】更改侧边导航栏右侧竖向分割线的长度](https://blog.csdn.net/weixin_44774630/article/details/107851519)[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* *3* [vue/element中分割线Divider的使用](https://blog.csdn.net/weixin_45816407/article/details/120994986)[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 ]
阅读全文