Skip to main content

Empty Selector

Sep 10, 2020 • 1 min • TIL #17

:empty {} Selector Hide empty paragraphs (often created by users within content management systems)

p:empty {
  display: none;
}