From what I saw, in Firefox and Chrome, the color of the text cursor in an input field changes to the value of the "color" css property. However in IE it has no effect whatsoever. Is there any way to achieve this effect in IE?
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- Adding a timeout to a render function in ReactJS
- React Native Inline style for multiple Text in sin
-
Why does the box-shadow property not apply to a
- Add animation to jQuery function Interval
The color of the text cursor in an input on IE is always the inverse of the background color. So you can't on IE.
This is also unspecced by W3C so don't expect support to be anywhere, if there is, then it's merely an artifact :-)
Edit: 9-years later and we now have
caret-color
, but not for IE or Edge. Works on other browsers.