Thread: CSS Question
View Single Post
Old 11-12-2020, 04:07 PM   #42
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,248
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by deback View Post
I'm pretty sure it won't work if you include the "em" when the value is 0. That is, the intended effect for that class will not happen if you include the "em" when the value is 0.
Quote:
Originally Posted by deback View Post
Any tests that you performed were meaningless, due to the zero default for all rules.
Well, first you said to be sure that if the "em" was included it wouldn't work. Now you say that testing it is meaningless because you knew it would work (since zero is default, according to you)?

Looks like a paradox to me... Or maybe some difficult to admit you were wrong.

P.S.: CSS properties do not default to zero. They default to their initial value, which varies according to the property. See: https://www.w3.org/TR/css-cascade-4/#defaulting
thiago.eec is offline   Reply With Quote