Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapse: Suggest moving checkbox to allow increased styling possibilities #33

Open
constructit opened this issue Nov 19, 2015 · 2 comments

Comments

@constructit
Copy link

Would it be ok to move the checkbox .collapse-open in front of .collapse-btn? By doing this it is possible to style .collapse-btn based on the open/closed state. For example background color, font weight or an icon as in the following example:

https://jsfiddle.net/mrgiao/2xfuwaLq/

@felipefialho
Copy link
Owner

Make sense!

I'll make this change in the next release.

:D

Thanks!

@constructit
Copy link
Author

Same goes for radio buttons in the collapse with accordion. Move in front of .collapse-btn:

https://jsfiddle.net/mrgiao/ytxgysxy/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants