We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
盒模型有两种:标准盒子模型、IE盒子模型(怪异盒子模型)。
盒子模型是由四个部分组成的:margin、border、padding 和 content。
它们之间的区别在于设置宽高的时候所对应的范围是不一样的: 标准盒子模型:box-sizing: content-box; (宽高包含 content) IE盒子模型:box-sizing: border-box; (宽高包含 content + padding + border)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
盒模型有两种:标准盒子模型、IE盒子模型(怪异盒子模型)。
盒子模型是由四个部分组成的:margin、border、padding 和 content。
它们之间的区别在于设置宽高的时候所对应的范围是不一样的:
标准盒子模型:box-sizing: content-box; (宽高包含 content)
IE盒子模型:box-sizing: border-box; (宽高包含 content + padding + border)
The text was updated successfully, but these errors were encountered: