CSS ::spelling-error pseudelement
- 上一页 ::selection
- 下一页 ::after
- 返回上一层 CSS Pseudo-element Reference Manual
Paglalarawan at Paggamit
CSS ::spelling-error
Ang pseudelement ay ginagamit upang itakda ang estilo ng teksto na may mark na salita ay maling speling ng browser.
Babala:Ang mga sumusunod na atributo ay maaaring gamitin sa ::spelling-error
Gamit nang magkakasama:
- color
- background-color
- cursor
- caret-color
- outline
- text-decoration
- text-emphasis-color
- text-shadow
Mga Halimbawa
Itakda ang estilo ng teksto na may mark na salita ay maling speling ng browser:
::spelling-error { text-decoration: underline red; color: red; }
Grammar ng CSS
::spelling-error { deklarasyon ng css; }
Detalye ng Teknolohiya
Bersiyon: | Module ng CSS Pseudo-elements Level 4 |
---|
Suporta ng Browser
Ang numero sa talahanayan ay tumutukoy sa unang bersiyong inisiping suportado ng browser na may ganitong pseudelement.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
121 | 121 | Hindi suportado | 17.4 | 107 |
相关页面
教程:CSS 伪元素
- 上一页 ::selection
- 下一页 ::after
- 返回上一层 CSS Pseudo-element Reference Manual