Css – Why does an empty child element with display: inline-block create space in its parent element?
Here is a parent element which has a child, the parent element does not have any width or height property but the child has 100% percent width and height and display: inline-block . HTML and CSS <!DOCTYPE html> <html lang="en">…