CSS ::spelling-error 偽元素
定義和用法
::spelling-error
偽元素用於樣式化瀏覽器標記為拼寫錯誤的文字。
注意:以下屬性可與 ::spelling-error 一起使用
- color
- background-color
- cursor
- caret-color
- outline
- text-decoration
- text-emphasis-color
- text-shadow
版本 | CSS 偽元素模組第 4 級 |
---|
瀏覽器支援
表中數字表示首次完全支援此偽元素的瀏覽器版本。
偽元素 | |||||
---|---|---|---|---|---|
::spelling-error | 121 | 121 | 否 | 17.4 | 107 |
CSS 語法
::spelling-error {
CSS 宣告;
}
相關頁面
CSS 教程:CSS 偽元素