Forum:Css style of object with 2 classes

How do I write a css style so that an object will be styled a certain way if and only if it belongs to class A and class B simultaneously? Granpa 11:22, March 23, 2011 (UTC)