elementui input宽度(设置<el-input type=“textarea“/>高度)
导读:一、设置<el-input type="textarea"/>高度...
一 、设置<el-input type="textarea"/>高度
.el-textarea{
height:88px;
:deep(.el-textarea__inner){
height: 88px;
}
}二 、设置el-input高度
:deep(.el-input__wrapper){
font-size: 14px;
width:100%;
height:32px;
}三 、修改el-form前面红色星号的颜色
:deep(.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before) {
content: "*";
color: var(--el-color-primary);
margin-right: 4px;
}四 、设置el-form在最右侧
<el-form-item style="float:right;margin-right:0px"></el-form-item>
创心域SEO版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!