A selector simply means selecting any element a that has a .button AS WELL AS .gold , so your anchor tag should look like
<a href="#" class="button gold">Hello</a>
Demo
The selector can also be written as element[attr~=val] as @BoltClock Commented as
a[class~="button"][class~="gold"] { color: #f00; }
Demo
As a rule, the above (not a selector, but calling several classes for a method with one element) is also used when you want to apply the properties of 2 classes to one element, so let's say, for example, you have .demo with color: green; and .demo2 with font-weight: bold; therefore using
<p class="demo demo2">Hello, this will be green as well as bold</p>
Will make it green as well as bold. Demo 2
source share