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.
を持っているリストがありますdispaly:noneが、特定の条件下でリスト ( li) の子要素を表示したいと考えています。それはどういうわけか可能ですか?
dispaly:none
li
いいえ。コンテナーが非表示の場合、その子の可視性は関係ありません。したがって、あなたの場合、非表示liにしたいすべての要素を非表示にする必要がありますが、リスト自体は表示する必要があります。