I've been dipping into SitePoint book concerning CSS.
The thing that struck me about the examples was the use of ID as a CSS selector.
Some bits of CSS design I've done, I've always found it easier and more versatile to use Class as the selector.
Maybe its a .Net thing as we don't always have control of the ID of an element...
Is the best practice here to use CLASS or ID as the selector?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…