Hide empty HTML Element
01/08/2018 — 1 Min Read — In CSS
CSS TIP: Hide a HTML element when have no content inside
.my-component:empty {
display: none;
}
CSS TIP: Hide a HTML element when have no content inside
.my-component:empty {
display: none;
}