Is 0px valid? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is 0px valid?

So… I believe “0px”, in letter spacing, is the same as “Normal” in CSS. Is this acceptable or is it important to use “Normal”?

21st Jun 2021, 5:21 PM
Lincoln Richard Landrum
Lincoln Richard Landrum - avatar
2 Answers
+ 2
Yes it is...... infact 0 is also ok as 0 doesn't need any unit.....
22nd Jun 2021, 4:14 AM
Aastha
Aastha - avatar
+ 1
yes 0px id valid, as well as only 0 (because zero doesn't need any unit value ;P)
21st Jun 2021, 9:52 PM
visph
visph - avatar