Zurb Foundation 6 - 更改焦点上的文本区域背景
Zurb Foundation 6 - Change textarea background on focus
我已经更改了联系表中我的 tectarea 的背景颜色。但是,当我在内部单击以键入消息时,背景变为白色。我尝试了一切,但我无法弄清楚这是如何工作的。有人知道如何将背景固定为一种颜色吗?
#contato input, textarea{
background-color: #333333;
border: none;
color: #FFFFFF;
}
Zurb Foundation 有一个特定的 textarea:focus
背景颜色声明,因此您必须覆盖它:
#contato input, textarea, textarea:focus {
background-color: #333333;
border: none;
color: #FFFFFF;
}
我已经更改了联系表中我的 tectarea 的背景颜色。但是,当我在内部单击以键入消息时,背景变为白色。我尝试了一切,但我无法弄清楚这是如何工作的。有人知道如何将背景固定为一种颜色吗?
#contato input, textarea{
background-color: #333333;
border: none;
color: #FFFFFF;
}
Zurb Foundation 有一个特定的 textarea:focus
背景颜色声明,因此您必须覆盖它:
#contato input, textarea, textarea:focus {
background-color: #333333;
border: none;
color: #FFFFFF;
}