如何保持< select>可以打开下拉菜单以测试< option>上的样式在萤火虫中? [英] How to keep <select> dropdown open to test styles on <option> in firebug?

查看:42
本文介绍了如何保持< select>可以打开下拉菜单以测试< option>上的样式在萤火虫中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何保持打开< select> 下拉菜单以测试Firebug中的样式?

How to keep <select> dropdown open to test styles on in firebug?

我正在尝试设置< option>

<select class="select">
    <option selected>Select</option>
    <option>Blue</option>
    <option >Red</option>
    <option>Green</option>
    <option>Yellow</option>
    <option>Brown</option>
</select>

但是每次我需要打开并查看在Firebug中更改CSS之后发生了什么.我知道打开查看结果并不需要花费很多时间.

But every time i need to open and see what's happening after changing css in firebug. I know it doesn't take much time to open an see the result.

但是我只是想知道是否有任何技巧可以使下拉菜单保持打开状态

But I'm just curious to know if there is any trick to keep the dropdown open

推荐答案

启用多个.

<select class="select" multiple="multiple">
    <option selected>Select</option>
    <option>Blue</option>
    <option >Red</option>
    <option>Green</option>
    <option>Yellow</option>
    <option>Brown</option>
</select>

这篇关于如何保持&lt; select&gt;可以打开下拉菜单以测试&lt; option&gt;上的样式在萤火虫中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆