The first means that you probably think it means: Any HTML element with a class class-namewill have a width of 0 width (for each side, that is, top, bottom, left and right).
The second question is a little more subtle. This selector
#some-id .class-name ul li
Applies only to lithat which is under ul, found under the element with the class class-namefound under the element with id some-id.
, HTML, :
#some-id ul li.class-name
, li .class-name . li.class-name "a li class-name", li .class-name ( ) " class-name, li".