Aug 18, 2021
I find max-width combined with an auto margin easier to understand and work with (it also seems a little more "semantically" correct), although you could definitely achieve a similar result with padding-inline. Max-width also enjoys wider support for browsers compared to padding-inline.