如何消除披露面板标题的焦点 [英] how to remove the focus on disclosure panel's header

查看:123
本文介绍了如何消除披露面板标题的焦点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到,每当我点击披露面板的标题,它就会变得有针对性,即你可以看到标题周围的黑色虚线边框,有什么办法可以摆脱这种情况?您可以通过设置css风格 outline:0 >在Disclosure头上:

  .gwt-DisclosurePanel .header {
outline:0;
}

另见 http://css-tricks.com/removing-the-dotted-outline/
基本上你需要删除轮廓 a 锚点元素。


i noticed that whenever i click the disclosure panel's header, it got focused, namely you can see the black dotted border around the header, is there any way i can get rid of that? Thanks.

解决方案

You can achieve this by setting css style outline:0 on the Disclosure header:

.gwt-DisclosurePanel .header {
  outline:0;
}

See also http://css-tricks.com/removing-the-dotted-outline/ Basically you need to remove the outline from the a anchor element.

这篇关于如何消除披露面板标题的焦点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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