How to hide empty space in DIV and SPAN

Category: | Tag:

To hide empty space in Div and Span use below css

div:empty {
   display: none;
}
span:empty {
   display: none;
}

Copyright © 2025 Siam Naulak.
magnifiercrossmenu