是否可以创建仅使用 CSS 的手风琴? [英] Is it possible to create a CSS-only accordion?

查看:26
本文介绍了是否可以创建仅使用 CSS 的手风琴?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑在请启用 Javascript"页面中使用手风琴,但我不知道是否可以使用 仅 CSS.

I'm thinking about using an accordion in a "please enable Javascript" page, but I don't know if it's possible with CSS only.

我几乎可以肯定它适用于大多数浏览器,但我也担心我会面临 IE 的一些限制,我想知道你们中是否有人已经(或没有)尝试过这个并且可以告诉我如果它可能不可能(考虑到 IE6+).

I'm almost sure it is for most browsers, but I'm also fearing I'll face some limitation of IE and I'd like to know if any of you tried this already (or not) and could tell me if it's either possible or impossible (considering IE6+).

推荐答案

某些 CSS 仅 Accordin 在这里

Some CSS only Accordin here

http://www.webdeveloperjuice.com/2010/05/17/8-powerful-pure-css-accordions-to-make-web-application-lite-and-impressive/

并且它是 IE 6 兼容的

And it is IE 6 compatible

http://www.cssnewbie.com/advanced-css-accordion-效果/

http://www.cssnewbie.com/example/css-only-accordion/vertical.html

这篇关于是否可以创建仅使用 CSS 的手风琴?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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