If you want to match only elements with both classes (an intersection, like a logical AND), just write the selectors together without spaces in between:
The order is not relevant, so you can also swap the classes:
So to match a div element that has an ID of a with classes b and c, you would write:
Hope it helps!!