Skip to content

Commit cc0ba14

Browse files
committed
fix: 内容错误
1 parent 79fdceb commit cc0ba14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chapters/001 盒模型.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
on <a href="https://codepen.io">CodePen</a>.
1616
</iframe>
1717

18-
上例中,p0没有设置width和height,p0是一个block,所以它会占满父元素的整个内容宽度。p1和p2通过设置`width: max-content``width: mix-content`,它们的宽度由内容决定。p3设置宽度高度为固定尺寸,此时内容过多导致`overflow`出现。
18+
上例中,p0没有设置width和height,p0是一个block,所以它会占满父元素的整个内容宽度。p1和p2通过设置`width: max-content``width: min-content`,它们的宽度由内容决定。p3设置宽度高度为固定尺寸,此时内容过多导致`overflow`出现。
1919

2020
## 盒模型的区域
2121

0 commit comments

Comments
 (0)