Im not sure what its name is but i just call it disabled cursor. Here is a picture of it so you can just tell me Picture of cursor:
What im trying to do is that when you hover over the text box the cursor shows. Here is my current code:
<input type="text" disabled="" autocomplete="off" id="keyword" name="s" value="" class="text">
Blocked cursor can be displayed by rule cursor: not-allowed
. Pass the disabled="true"
value to the :hover
selector.
#keyword[disabled="true"]:hover { cursor: not-allowed; }
<input type="text" disabled="true" autocomplete="off" id="keyword" name="s" value="" class="text">
You can just add to your css cursor: not-allowed;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.