私は内部の原料の束でdiv
があるとします。入れ子のセレクタ - 可能ですか?
<div id="Product">
<ul id="List"></ul>
<div class="Component"></div>
<input type=... />
...
</div>
は今、私はいろいろなものをスタイルしたいのですが、ときにのみ#Product
div
の内部。一般的に、私はやります:
#Product #List {}
#Product .Component {}
#Product input {}
しかし、私はこれの代わりに何かできますか?
#Product {
#List {}
.Component {}
input {}
}
cool!返信ありがとう – ekkis