From 99cc1de3f4a5c643af840817a5b7bf8460f770f5 Mon Sep 17 00:00:00 2001 From: MonsterPi <43134418+MonsterPi13@users.noreply.github.com> Date: Sat, 1 Jun 2024 14:32:55 +0800 Subject: [PATCH] contents(quiz): fix typo in CSS positioning question (#430) --- .../zh-CN.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/quiz/questions/whats-the-difference-between-a-relative-fixed-absolute-and-statically-positioned-element/zh-CN.mdx b/packages/quiz/questions/whats-the-difference-between-a-relative-fixed-absolute-and-statically-positioned-element/zh-CN.mdx index 847d66091..1f3ab8c4c 100644 --- a/packages/quiz/questions/whats-the-difference-between-a-relative-fixed-absolute-and-statically-positioned-element/zh-CN.mdx +++ b/packages/quiz/questions/whats-the-difference-between-a-relative-fixed-absolute-and-statically-positioned-element/zh-CN.mdx @@ -4,7 +4,7 @@ title: '`relative`, `absolute`, `fixed` 和 `sticky` 定位的元素之间有什 定位元素是一个元素,其计算的 `position` 属性是 `relative`, `absolute`, `fixed` 或 `sticky`。 -- `static`: 默认位置; 元素将会像通常那样流入页面。 `top`, `right`, `bow`, `left` 和 `z-index` 属性不生效。 +- `static`: 默认位置; 元素将会像通常那样流入页面。 `top`, `right`, `bottom`, `left` 和 `z-index` 属性不生效。 - `relative`:元素的位置相对于它自己进行调整,而不改变布局(从而在元素没有被定位的情况下为它留下一个缺口)。 - `absolute`:该元素从页面流中移除,并相对于其最近的祖先(如果有的话)或相对于初始包含块的指定位置定位。 绝对位置的方框可以有边距,而且它们不会与任何其他外边距一起折叠。 这些元素不影响其他元素的位置。 - `fixed`:该元素被从页面流中移除,并被定位在相对于视口的指定位置,滚动时不会移动。