Adjacent Selctor, nth of type and Attribute Selector.are they used anymore?

css

#1

im just asking this bcs i usually only use Descendant Selectors and * #


#2

Whether we use them or not, we may be sure that somebody still does. They won't be deprecated any time soon, if ever. They are just too useful.

If we are in the habit of using lots of id's because it is simple, we could be missing opportunities to hone our document tree traversal skills. Once applied they are actually more dynamic and less dependant on fixed elements.


#3

i see, so better to learn use them now then make a hundred ids and classes


#4

That would be prudent, and will greatly expand upon your skill set while lessening the verbosity of your markup.