So I’m trying to build a survey page and facing 2 issues listed here:
I am applying font-family: "Comic Sans MS", "Comic Sans", cursive; to the .heading class but I don’t see the result. I want the entire form to be cursive starting with .heading.
I want the radio button text and radio box to have a little spacing between them. I tried this:
input [type="radio"] {
background-color: #fff;
}
I checked online and the CSS selector looks legit but it isn’t working. What am I missing here?
One last thing I noticed with the font-family. If you set the font-family on the form element it doesn’t seem to actually cascade to the nested elements.
form {
font-family: cursive;
}
This is because at the very top of the stylesheet you use the global selector to set the font-family to sans-serif