Skip to content

Commit 79fdceb

Browse files
authored
Merge pull request #1 from tiansQAQ/master
内容错误
2 parents c04521f + 64c4a88 commit 79fdceb

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

2020
## 盒模型的区域
2121

0 commit comments

Comments
 (0)