What's the trick to inspect popout / dropdown menu style with Firebug?

房东的猫 提交于 2019-11-30 03:50:29

问题


Is there a way to make a popout menu 'stick' when inspecting with Firebug.

You can do it with Chrome, but I prefer firebug.

It's hard to set padding or a margin when you can't see the element you are styling.

I did some research but couldn't figure it out.


回答1:


There's an option built in:

Inspect the element that's "hidden", then use this.




回答2:


You can show/hide them using JS console, directly using show() or binding an event(mouseover, click etc).



来源:https://stackoverflow.com/questions/6462016/whats-the-trick-to-inspect-popout-dropdown-menu-style-with-firebug

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!