inline-block element is laid out, if there is a gap between the end tag and the next start tag, 1/4 space will be generated. The table layout defaults to table-layout:auto; at this time, the effect of width is equivalent to max-width. Only when it is set to table-layout:fixed; is the width we are familiar with.
Using transform will invalidate z-index
When the
inline-block element is laid out, if there is a gap between the end tag and the next start tag, 1/4 space will be generated. The table layout defaults to table-layout:auto; at this time, the effect of width is equivalent to max-width. Only when it is set to table-layout:fixed; is the width we are familiar with.