Html 引导3输入填充问题
我有一个Bootstrap3网页,我试图增加输入的填充。我的代码如下所示:Html 引导3输入填充问题,html,css,forms,twitter-bootstrap,input,Html,Css,Forms,Twitter Bootstrap,Input,我有一个Bootstrap3网页,我试图增加输入的填充。我的代码如下所示: input[type='text'], input[type='password'], input[type='email'], textarea { padding-top:18px; padding-bottom:18px; -webkit-appearance: none; } 但是在Firefox上,文本丢失了。发生了什么?引导设置了默认高度。您只需添加height:auto: input[typ
input[type='text'],
input[type='password'],
input[type='email'],
textarea
{
padding-top:18px;
padding-bottom:18px;
-webkit-appearance: none;
}
但是在Firefox上,文本丢失了。发生了什么?引导设置了默认高度。您只需添加
height:auto
:
input[type='text'],
输入[type='password'],
输入[type='email'],
文本区
{
填充顶部:18px;
垫底:18px;
-webkit外观:无;
高度:自动;
}