[CSS] Need help understanding a style definition using commas spaces and [renamed]

I’m new to CSS and was wondering if anyone could explain this:

.anchorDropMenu, .anchorDropMenu .dropMenu2 {
	background-color: #CCC;
	border-bottom: 1px solid #999;
	border-right: 1px solid #AAA;
	border-left: none;
	width: 166px;
}

Is this saying that all three will inherit these property’s, so I could have
style=".anchorDropMenu" on one function and use the other two on another. Or is is this saying that .anchorDropMenu .dropMenu2 are the child of .anchorDropMenu?

Cheers