Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<div id="special-image"> <div class="image-itself"></div> <div class="image-info"></div> </div>
也#special-image.image-itself没有#special-image .image-itself瞄准第一个div内部。
#special-image.image-itself
#special-image .image-itself
div
其实第二个是对的。
看到这个jsFiddle。
我加了一点css,它显示了。你可能在其他地方有问题。
css