Hide empty HTML Element

CSS TIP: Hide a HTML element when have no content inside

.my-component:empty {
  display: none;
}
🛠️ with ❤️ by Ash Hitchcock © 2020 | Uses