Nepoužívaj v CSS ID

Never use IDs in CSS, ever. They have no advantage over classes (anything you can do with an ID, you can do with a class), they cannot be reused, and their specificity is way, way too high. Even an infinite number of chained classes will not trump the specificity of one ID. Hacks for dealing with specificity

Nič podstatné? Tak jednoriadkové CSS tipy.

Môže sa Vám ešte páčiť...