Hacking CSS Specificity

July 21, 2014 at 10:27 pm

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.