Classes multiples

Code source CSS :
.infobox { 
	border: dotted 2px black;
	width: 200px;
	margin: 6px 3px 6px 3px;
	padding: 4px;
}

.feature { background-color: #ccffcc; }
.warning { background-color: #ffffcc; }
.coolness { background-color: #ccccff; }
Code source HTML :
<div class="infobox feature">This is an energy-saving radio.</div>
<div class="infobox warning">Do not operate this radio under water.</div>
<div class="coolness infobox">This radio has a USB port for Internet connectivity.</div>
Résultat :
This is an energy-saving radio.
Do not operate this radio under water.
This radio has a USB port for Internet connectivity.
Source de l'exemple original : http://catcode.com/csstips/classes.html