[英]I need to know how to change the text color in my contact form
I have a contact form and I have it set exactly the way I like it, however the text is white, so when you type in it you cant see it. 我有一个联系表格,并且按我喜欢的方式设置了它,但是文本为白色,因此当您键入时看不到它。 When you highlight it it is there so it is working, however people can't see what they are typing.
当您突出显示它时,它就可以工作了,但是人们看不到他们在打字什么。 I have it hosted here www.trutattoo.amdesigns.studio.com
我在这里托管了www.trutattoo.amdesigns.studio.com
and this is my CSS
form label,
form .label {
display: block;
margin-bottom: 20px;
}
input,
textarea {
margin-top: 20px;
font-family: 'Open Sans', sans-serif;
font-size: 14px;
font-weight: 800;
font-color: #000000;
border: 1px solid #000000;
outline: none;
-webkit-transition: border-color 0.2s;
-moz-transition: border-color 0.2s;
-ms-transition: border-color 0.2s;
-o-transition: border-color 0.2s;
transition: border-color 0.2s;
}
input[type="text"],
textarea {
padding: 10px;
width: 100%;
}
input[type="text"]:focus,
textarea:focus {
border-color: #161616;
}
input[type="checkbox"] {
display: none;
}
textarea {
margin-top: 20px;
height: 200px;
}
Just change 只是改变
font-color: #000000; 字体颜色:#000000; border: 1px solid #000000;
边框:1px实线#000000;
Example change to #ff0000 is you want RED. 您想要变红的示例更改为#ff0000。
Hope it helps! 希望能帮助到你!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.