Other Appearance Things
You can also do other changes to cursors and text. You can override the cursor the user sees on hover with another standard cursor by using the utilities cursor-auto, cursor-default, cursor-move, cursor-not-allowed, cursor-pointer, cursor-text, and cursor-wait.
You can disallow text selection for copy and paste purposes in an element with select-none and allow it with select-text, or make the entire text autoselect on click with select-all. (Please don’t do this. It’s somewhat user-hostile, but you may be asked to for certain kinds of perceived security or compliance reasons.)
You can also give an element a resize handle with resize, and limit the handle to one direction with resize-x or resize-y, and reset it with reset-none ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access