+ 1

Can somebody explain?

1. input.radioButton, [type="radio"]{} /* "," What does it mean? */ 2. input .radioButton, [type="radio"]{} /* "space between input and .radiobutton" What it refers to? */ 3. input.radioButton, [type="radio"]{} /* "space between input and .radiobutton" does that make any difefrence? */

20th Jan 2019, 1:18 AM
Dev Anand
Dev Anand - avatar
1 Odpowiedź
+ 3
This CSS selector refers to an input element whose class name is radioButton or an element with the type radio. And I think space won't affect the code anyway
20th Jan 2019, 9:46 AM
Seniru
Seniru - avatar