Skip to content

Commit

Permalink
Update files/zh-cn/web/css/counters/index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored Dec 13, 2024
1 parent 8d10b8e commit 1c7ab57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/zh-cn/web/css/counters/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ counters(countername, '-');
counters(countername, '.', upper-roman)
```

一个[计数器](/zh-CN/docs/Web/CSS/CSS_counter_styles/Using_CSS_counters)本身没有可见的效果,而是通过 `counter()` 函数(和 [`counters()`](/zh-CN/docs/Web/CSS/counters) 函数)返回开发人员定义的字符串(或图像)从而使计数器拥有很棒的作用
[计数器](/zh-CN/docs/Web/CSS/CSS_counter_styles/Using_CSS_counters)本身没有可见的效果,而是通过 `counters()` 函数(和 {{cssxref("counter", "counter()")}} 函数)返回开发人员定义的内容从而使计数器拥有很棒的作用

> **备注:** `counter()` 函数可以与任何 CSS 属性一起使用,但是对[`"content"`](/zh-CN/docs/Web/CSS/content)以外的属性的支持是试验性的,对 type-or-unit 参数的支持很少。
>
Expand Down

0 comments on commit 1c7ab57

Please sign in to comment.