JavaScript Cursor Change (and change back again)

前端 未结 7 1996
日久生厌
日久生厌 2021-01-17 11:14

I have this page that does some funky database stuff that takes a couple seconds to process, and in the meantime I\'d like to set a \"wait\" cursor so the user

7条回答
  •  误落风尘
    2021-01-17 11:49

    For your first problem, try using cursor: wait !important;.

    For your second problem, the default cursor for elements is cursor: auto;, not cursor: default; or cursor: inherit;.

提交回复
热议问题