私はこのhtmlマークアップを持っています:
<figure class="about half">
<figcaption class="head_section">
<h3>About</h3>
</figcaption>
</figure>
そして、このLESSセットアップ:
figure {
//some style
&.half {
width: 48%;
}
figcaption {
h3 {
.about & & {
// what i need to do but isn't working
}
}
}
&.about {
h3 {
// some style i have which is working
}
}
}
figure.about
だから、私の質問は、スタイルから外れないように、前の2つのクラスを参照する方法h3
です。それが明確であることを願っています...大いにthx。