该
&串接的父类,从而导致
.title.sub-title(而不是
.title .sub-title如果
&被省略)。
结果是,与
&匹配的元素与
title和
sub-title类都匹配:
<div ></div> <!-- << match -->
而如果没有,
&它将匹配具有class
sub-title的元素class 的后代
title:
<div > ... <div ></div> <!-- << match --> ...</div>

该
&串接的父类,从而导致
.title.sub-title(而不是
.title .sub-title如果
&被省略)。
结果是,与
&匹配的元素与
title和
sub-title类都匹配:
<div ></div> <!-- << match -->
而如果没有,
&它将匹配具有class
sub-title的元素class 的后代
title:
<div > ... <div ></div> <!-- << match --> ...</div>