首页IT科技elementui input宽度(设置<el-input type=“textarea“/>高度)

elementui input宽度(设置<el-input type=“textarea“/>高度)

时间2025-08-04 18:48:00分类IT科技浏览5074
导读:一、设置<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版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!

展开全文READ MORE
多维缩放降维(机器学习强基计划8-2:详细推导多维缩放MDS算法(附Python实现)) 网站推广技巧有哪些?(掌握SEO技巧,助您网站推广大获成功!)