Changing the text selection cursor

给你一囗甜甜゛ 提交于 2019-12-13 03:53:18

问题


As the title says, is there a way to change the text selection cursor? Changing the cursor in CSS (eg. cursor: hand) just changes the normal cursor.


回答1:


I suppose you mean “cursor” in the old sense–the thing that appears in editable text to indicate the location where text is to be inserted or where text deletion or insertion is to take place. Its appearance is, in modern systems, typically a blinking (appearing and disappearing) thin vertical line. I’m afraid there isn’t a way to change it, even as planned or proposed. If there were, I would expect to find it in the CSS3 Basic User Interface Module, where the cursor property is defined.

The CSS specifications and drafts reflect a new meaning for “cursor,” namely something that used to the called “pointer.” For further confusion, one of the possible values for cursor is pointer (typically, appearing as a hand).



来源:https://stackoverflow.com/questions/8583785/changing-the-text-selection-cursor

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!