โœจ :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/โ€ฆ

May 9, 2026 ยท 1:30 PM UTC

1
4
74
3,949
Sort replies: Relevant Recent Liked
Replying to @MozDevNet
So it's only for <html>?
1
1
132