# Revision history [back]

Actually, it is possible:

.required.login {} /* selects elements with both classes, won't work in IE6 */


or

.login {} /* just login class */


or even

body.openid-signin .login.required {} /* both classes on openid-signin page */


Or I don't understand your intention?

Actually, it is possible:

.required.login {} /* selects elements with both classes, won't work in IE6 */


If no space is used between classes, when space is used in the assignment like class="login required" it means that multiple classes are used on the element at the same time.

or

.login {} /* just login class */


or even

body.openid-signin .login.required {} /* both classes on openid-signin page */


Or I don't understand your intention?

Actually, it is possible:

.required.login {} /* selects elements with both classes, won't work in IE6 */


If no space is used between classes, when classes in the css file.

When space is used in HTML in the assignment like class="login required" it means that multiple classes are used on the element at the same time.

or

.login {} /* just login class */


or even

body.openid-signin .login.required {} /* both classes on openid-signin page */


Or I don't understand your intention?