Inspect element that only appear when other element is mouse overed/entered

前端 未结 4 1126
孤城傲影
孤城傲影 2021-01-29 17:46

Often I want to inspect an element (e.g. tooltip) that only appears when another element is mouse overed/entered. The element that appears, is made visible via jQuery\'s mousee

4条回答
  •  离开以前
    2021-01-29 18:20

    There's also another tricky way to do it :

    1. Go over the element which makes your tooltip appear.
    2. Right click to open the contextual menu.
    3. Move your mouse to your dev tool window and left click anywhere in the dev tool panel.

    Your tooltip will stay visible, you will then be able to inspect it in the Element tab.

    Tested on Chrome. Doesn't seem to work on Firefox.

提交回复
热议问题