.name1.name2 Selects all elements with both name1 and name2 set within its class attribute
.name1.name2