8000 fix:顺序错误 · coder22010/css-tutorial@64c4a88 · GitHub
[go: up one dir, main page]

Skip to content

Commit 64c4a88

Browse files
committed
fix:顺序错误
1 parent 26ead01 commit 64c4a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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: min-content``width: max-content`,它们的宽度由内容决定。p3设置宽度高度为固定尺寸,此时内容过多导致`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)
0