摆脱 Spry Accordion bluebox
我有两个问题。首先,我在我正在设计的这个网站上使用了一个 spry 手风琴,但这是我第一次使用它,所以我想知道如何在每次按下它时关闭它周围的蓝色框。有谁知道吗?我试图修改CSS,但我知道它不在那里。
我的第二个问题是如何在打开网站时关闭所有选项卡? 这是网站的示例,我认为这会让它更容易可视化。 Spry 面板示例
谢谢! 苏菲
I have two questions. First I am using a spry accordion for this website I'm designing, however its the fist time I've used it so I wanted to know how to turn off the blue box that surrounds it everytime you press on it. Does anyone know? I tried to revise the css but I know its not in there.
My second question is how do I make all the tabs closed when you open the website?
Here is the example of the website, I think it will make it easier to visualize.
Spry Panel Example
Thanks!
Sophie
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
它实际上似乎与 spry 无关,我要做的就是将其添加到您的 CSS 中:
It actually seems to have nothing to do with spry, what I'd do is add this to your CSS:
我发现,你实际上需要删除手风琴 html 代码开头的选项卡索引:
I figured it out, you actually need to erase the tab index at the beginning of the accordion html code:
实际上,以上这些都不适合我,你要做的就是不要说边框和轮廓无,如果你应用背景颜色,效果最好。因此,与其试图摆脱它,不如掩饰它。工作一种享受
Actually none of the above worked for me, what you have to do is instead of saying border and outline NONE it works best if you apply the background colour. so instead of trying to get rid of it - disguise it. works a treat