首页 > 解决方案 > 如何在 css 中设置表单输入的样式?

问题描述

如何设置表单(文本)的输入样式?我试过了:

input type=[text] {
  color: white;

}

标签: htmlcss

解决方案


尝试使用这个:

input[type="text"]
 {
 color: white;
}

推荐阅读