在Webkit中使用CSS定制拼写错误的词的样式? [英] Custom Styling of Misspelled Words in Webkit with CSS?

查看:138
本文介绍了在Webkit中使用CSS定制拼写错误的词的样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用一条更细微的虚线代替那些我已经在某处完成但现在找不到的小角线。有没有人做过这个,或者有人知道如何做到这一点?感谢您的阅读。

I'd like to use a more subtle dashed line instead of the squiggles, which I've seen done somewhere but cannot find now. Has anyone done this, or does anyone know how to do this? Thank you for reading.

推荐答案

目前还没有一种方法可以用CSS来设置拼写检查标记的样式。虽然不完全符合您的要求,但您可以将 spellcheck =true / false属性添加到 input 元素中启用/禁用默认的拼写检查。

There isn't currently a way to style the spellchecking marks with CSS. While not exactly what you asked for, you can add the spellcheck="true/false" attribute to input elements to enable/disable default spellchecking.

http: //caniuse.com/#feat=spellcheck-attribute

这篇关于在Webkit中使用CSS定制拼写错误的词的样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆