Skip to content

Commit da49c1d

Browse files
committed
fix typo tranform-origin
1 parent 4a74e8e commit da49c1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

02 - JS + CSS Clock/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
3. 每一秒改变一次指针状态
2222

2323
**涉及到的特性:**
24-
- `transform-oragin`
24+
- `transform-origin`
2525
- `transform: rotate()`
2626
- `transition`
2727
- `transition-timing-function: cubic-bezier(x, x, x, x)`
@@ -33,10 +33,10 @@
3333
### CSS 部分
3434

3535
1. 调整指针的初始位置以及旋转的轴点
36-
[transform-oragin](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-origin)
36+
[transform-origin](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-origin)
3737

3838
```css
39-
transform-oragin: 100%; // 或者可以用 right
39+
transform-origin: 100%; // 或者可以用 right
4040
```
4141

4242
2. 调整时钟指针跳动时的过渡效果

0 commit comments

Comments
 (0)