Use the following code: label[for="something"] { /* woohoo! */ } Source: https://stackoverflow.com/questions/13935064/css-target-label-based-on-for-attribute PrevNext