Inspecting Hover-state in Firebug or Chrome DevTools

前端 未结 4 1839
一生所求
一生所求 2020-12-16 03:27

I\'ve got an HTML element that has a CSS hover-state. There\'s a bug with the margin or padding on hover and every time I mouseover, the contents of the element slide a lit

4条回答
  •  有刺的猬
    2020-12-16 04:01

    Chrome Dev Tools has a built-in :hover state selector in the Elements > Styles panel. You can toggle other pseudo-classes (like :active) there as well.

提交回复
热议问题