SyntaxFix
Write A Post
Hire A Developer
Questions
Because, it is not supposed to do that.
input[type=text] { } is an attribute selector, and will only select those element, with the matching attribute.
input[type=text] { }