CSS3 :empty Selector
Last Updated Jul 21, 2015, 12:00:06 PM
CSS3 :empty Selector
The css:empty
selector matches every element that has no children
The below example specifies a background color for empty <p> elements:
Try It Now
CSS Before Selector
CSS Selectors Reference
CSS Selectors ReferenceOther CSS Selectors you might want to learn
CSS Basic SelectorsCSS Combinators
Sources and Credits
The source of the content has been referred and updated with Mozilla Foundation and W3C Organization
Last Updated Jul 21, 2015, 12:00:06 PM