-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Button groups, toggle buttons and radio buttons #308
Conversation
Not yet tested in IE.
Realized browsers that can't do `:nth-child()` can't do `border-radius:` either!
Very nice |
i'm +1 ! Very nice job ! |
I really like this! Though, the toggle animation seems un-natural in Chrome 15 beta. |
+1, i d like to see it on bootstrap too |
That's nice, but I'd rather have labels with inputs in them, so that I can actually retrieve the values when I post my forms. Here is an update to your fiddle : http://jsfiddle.net/olvlvl/tjVbC/ In my opinion a ".radio" class should for a single element, not a group of elements. That's why I renamed the class ".radio" to ".radio-group". PS: On the JS part I did what I could with my limited knowledge of jQuery, you see I'm a MooTools guy :) |
👍 looks nice! |
Sexxxy! |
@olvlv The text can be too easily selected on press. Looks kind of ugly. Some sort of |
perfect! |
Looks a bit like what I did here - https://github.com/necolas/css3-facebook-buttons |
Awesome work :). Since this can't be merged automagically, I took a stab at just coding this from your fiddle example. Haven't added the radio or checked options yet, just built it using anchors. It merges some of your markup and that of @necolas to start. Check it out in the 2.0-wip branch and let me know what you think. |
Right on! That looks great. Clearly I have lots to learn about LESS. Since the basics are in now, I'll close this request and work from 2.0-wip from now on. |
I've added toggles and radio buttons as in issue #81. There's a fiddle to play with, and they look like this: