How to center floating elements

Without setting a width AND regardless of the number of children

(Note that this trick looks quite odd nowadays. Using float should remain an exception.
In order to get a similar result, please rather use modern features such as css flex or css grid)