Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P126 <span>元素 display:inline-block,可以创建一个独立的“行框盒子”,行高不受前面的“幽灵空白节点”干扰 不理解 #47

Open
ximenchuifeng opened this issue Aug 13, 2023 · 0 comments

Comments

@ximenchuifeng
Copy link

P126 元素 display:inline-block,可以创建一个独立的“行框盒子”,行高不受前面的“幽灵空白节点”干扰 不理解

内容...

按照书本应当 标签前面已经存在一个 “幽灵空白节点“, 为什么书上说”元素 display:inline-block,可以创建一个独立的“行框盒子”,行高不受前面的“幽灵空白节点”干扰 不理解“。 完全不能理解,希望老师解答下。

我实验了下,确实 改成 inline-box 后, 高度改变了。但是完全没法理解。

微信图片_20230813192828

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant