Hacking CSS Specificity

Harry Roberts at CSS Wizardry has some great tips about hack­ing CSS speci­fici­ty up or down depend­ing on what you’re try­ing to do. It’s a good rule of thumb to start as least spe­cif­ic as pos­si­ble and only cre­ate more spe­cif­ic selec­tors when you have to.

Comments are closed.