simply
<style>
.name
{
}
</style>
All you need is the name of the class itself, if only other factors otherwise you can use several types of selectors
div span.name // selects all spans with class "name" in any div
div > span.name // this one selects only the spans that are direct children of a div
div.resultDetails span.name //select only spans with class "name" in only divs with class="result Details
.resultDetails .name // selects any element with class "name" in any element with class "resultDetails"
There are more ways to choose, but you get the point.
source
share