Does including the tag (input) in the selector increase or decrease the CSS rendering speed?
#login input[type="text"]
or
#login [type="text"]
Would you include the tag? And why, or why not? I realise that this is unimportant, but I am curious.
The difference in speed is so insanely negligible you would have to be styling millions of elements for you to notice it. Furthermore, I think including it would actually increase the speed, as the browser would have to check less elements for their type. And finally, I would include it, it helps keep the CSS clear and understandable.