开发者

Styled radio buttons (jquery?)

开发者 https://www.devze.com 2022-12-17 02:29 出处:网络
I need the functionality of a radio selection, without the style. How can I style something (anythi开发者_开发百科ng) to work like a radio button, and capture the input in a form?Something like this?

I need the functionality of a radio selection, without the style.

How can I style something (anythi开发者_开发百科ng) to work like a radio button, and capture the input in a form?


Something like this?

I think what they've done is just hidden the actual radio buttons on the page, replacing them with fancy looking icons, images and text. Clicking these elements forces the radio buttons to change behind the scenes.

There's all kinds of them:

http://www.chriserwin.com/scripts/crir/index.php

http://lipidity.com/fancy-form/

http://widowmaker.kiev.ua/checkbox/


I wrote a tutorial about how to create customized radio buttons with CSS only. Basically you hide the radio button itself and style its label how you want, it is pretty easy. Maybe this helps :)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号