Login
From:
grep Tips *
(Uncensored)
subscribe
:notを使って「親/先祖が〜〜でない」要素を示すCSSを書く - grep Tips *
https://www.greptips.com/posts/1353/
links
backlinks
Roast topics
Find topics
Find it!
:not(.parent) > .target :notを親/先祖に対して使う タイトルの通り、「親/先祖が〜〜でない」要素を示すCSSを:notを使用して書く。 まず以下のようなHTM