I was doing some experiments on margin-bottom, and found a small problem that I did not quite understand.
.left {
width: 60px;
height: 100px;
background-color: yellow;
}
<div class="left">Coding Coding Coding Coding Coding</div>
When I set it to margine-bottom: -50px, it looks like this.
The box has the same width and height and can be rendered, but I don't understand what the orange part of the picture represents. Why is it reduced by half?
One explanation I see is that margin-bottom is negative and does not shift, reducing its own height for CSS to read. But I do not understand the meaning of this sentence, what is called its own height for CSS to read? If you can understand this point, can you explain it?