Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
288 views
in Technique[技术] by (71.8m points)

html - How do you make it so when you hover over a textbox it shows the blocked cursor?

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:

enter image description here

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">
question from:https://stackoverflow.com/questions/65914978/how-do-you-make-it-so-when-you-hover-over-a-textbox-it-shows-the-blocked-cursor

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can just add to your css cursor: not-allowed;


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...