There’s a well-established ‘best practice’
that CSS authors
(as well as linters and minifiers)
should remove units from any 0
value.
It’s a fine rule in most cases,
but there are a few common situations
where it will break your code.
Not All Zeros are Equal
And every ‘best practice’ comes with caveats
Repost from OddBird.net