如何为所有文本框添加css规则?
我知道:
input{}是为所有的输入,但如果我特别想要的type=“文本”?
发布于 2012-05-04 21:34:50
使用attribute selector
input[type="text"]
{
/* ... */
}发布于 2012-05-04 21:34:47
input[type="text"] { color: orange; }发布于 2012-05-04 21:35:08
使用此attribute selector
input[type="text"]https://stackoverflow.com/questions/10449910
复制相似问题