With so many properties and selectors available, it's easy to see why CSS can sometimes seem overwhelming. But if you take time to learn each of them with real use cases, you will know what to use when. The :empty selector is one such concept. This selector matches elements that have no content or children elements. Sounds simple, but if you don’t know its use case, you’ll easily forget its existence.
excellent