How to use chrome web inspector to view hover code

前端 未结 6 1671
野趣味
野趣味 2020-12-04 18:28

Using chromes web inspector to view code is very useful. But how do you view for example the hover code for a button? You will have to hover the mouse over the button and th

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 19:06

    In Chrome:

    You can also mouseover on an element, and then click CTRL+SHIFT+C to inspect that element.

    In Firefox:

    in firebug:

    enter image description here

    source: https://stackoverflow.com/a/11272205/2165415

提交回复
热议问题