How do I style radio buttons with images - laughing smiley for good, sad smiley for bad?

后端 未结 10 1155
滥情空心
滥情空心 2020-11-30 19:56

I would like to create an HTML form for user feedback. If the overall feedback is good, the user should click on a laughing smiley, if the overall feedback is bad, the user

10条回答
  •  旧巷少年郎
    2020-11-30 20:20

    You cannot style things like radio buttons, checkboxes, scrollsbars (etc.) at all. These are native to the OS and the browser and not something you can manipulate.

    You can simulate this, however by hiding the radio buttons and only showing an image instead as in.

    
    

提交回复
热议问题