0575Name_Not_Found
2018/02/24(土) 11:14:30.15ID:???上位にだけクラスがつけてあって
.labeledImage > div:first-child {}
.labeledImage > div:nth-child(2) {}
とかかかれてるより
.labeledImage .text{}
.labeledImage .image{}
ってかかれてるほうがスタイル更新しやすいんじゃね
2階層ぐらいならまだしもこれが
.labeledImage > div:first-child > div:nth-child(3) > :not(:first-child) {}
とかなってたらもう何かしらCSSメタ言語でないと管理しきれないだろう
客にsassの使い方までサポートするのか