From my understanding, “.class” is shorthand for “*.class”
Does that slow things down at all, when I’m really only targeting a certain element? (The same goes for id’s, especially. Is “#id” better, worse, or the same as “element#id”?)
I’m particularly concerned about longer selectors. One looks faster, but the other seems like it would work faster:
#id .class element .class element {
...
}
element#id element.class element element.class element {
...
}