Skip to content

Commit

Permalink
docs(dom/css): fix text (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
cogic authored Apr 25, 2024
1 parent 2092d3b commit eefffcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dom/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,9 @@ myStyleSheet instanceof StyleSheet // true

注意,`disabled`属性只能在 JavaScript 脚本中设置,不能在 HTML 语句中设置。

**(2)Stylesheet.href**
**(2)StyleSheet.href**

`Stylesheet.href`返回样式表的网址。对于内嵌样式表,该属性返回`null`。该属性只读。
`StyleSheet.href`返回样式表的网址。对于内嵌样式表,该属性返回`null`。该属性只读。

```javascript
document.styleSheets[0].href
Expand Down

0 comments on commit eefffcf

Please sign in to comment.