CSS3 :empty Selector
Specify a background color for empty p elements:
Try it yourself »
Definition and Usage
The :empty selector matches every element that has no children (including text nodes).
The :empty selector is supported in all major browsers, except IE8 and earlier.
Thank You For Helping Us!
Your message has been sent to W3Schools.