For example, when classes are installed close to each other, the code works differently. Example:

.sb_header.button_cont 

will work differently than

 .sb_header .button_cont 

1 answer 1

In the first case, with notation without a space, the styles will be applied to the element that has both the sb_header and button_cont , and in the second, when class names are separated by a space, to the element with the button_cont class, which is a descendant of the element with the sb_header class.

The space when declaring styles, along with > ,, and others, is an operator .