How to inspect JQuery UI tooltip?

后端 未结 9 1479
一向
一向 2021-01-17 17:48

I have a default JQuery UI tooltip function call on my page. Is there a way to style the tooltip div interactively using the Inspector? If I had two mouse pointers, one woul

9条回答
  •  无人及你
    2021-01-17 18:26

    My working solution in Firefox:
    1. hover over tooltip (tooltip is shown)
    2. hit CMD-Option-K (OSX) or CTRL-Shift-K (Windows), to open "Web Console"
    3. type "debugger" (this will stop JS execution, so tooltip won't disappear)
    4. open "Inspector" Tab, search for .ui-tooltip
    5. edit as necessary. note: changes to CSS will work immediately, even if execution of JavaScript is stopped

提交回复
热议问题