✨ :only-child now matches elements with no parent! The :only-child selector has been updated — it can now match elements that have no parent at all, not just sole children. A subtle but useful spec alignment across all major browsers. Learn more 👇 developer.mozilla.org/en-US/docs/...
Post
<:root:only-child:first-child:last-child:only-of-type> <:first-child:empty/> <:not(:empty)><:only-child/></> <:last-child:empty> <!-- --></> </>
0 reposts0 likes
No replies yet.