CSS Trick: If you have a block element with an unknown width (width is as wide as its contents), you can give it a width of `fit-content` and then the old `margin: 0 auto` trick will work:
0
1
10
0
1
Download Image