Streaming live at 10am (PST)

How to style radio button once pressed


#1

https://preview.webflow.com/preview/beaufort-12?preview=25ef7d878eea2c7be62ed2dc9b0e0747

I have added a form to this dynamic page http://beaufort-12.webflow.io/basics/nostrum-aperiam which includes two radio buttons (Yes, thanks! and No, not really). I have hidden the round radio buttons and styled them to fit the design. This works technically but the problem is that I can’t figure out a way to style the button after it has been pressed. Ideally it should stay the darker colour that appears on hover.

Any help would be gratefully received!

Thanks


Here is my site Read-Only: LINK
(how to share your site Read-Only link)


#2

this might help:

the CSS code you’re looking for is

input[type="radio"]:checked {
  /*put your style here*/
}