html - Css "width:fit-content;" property doesn't work well. Parent element has this property calculates its width smaller than its content - Stack Overflow
3 ways to display two divs side by side (float, flexbox, CSS grid) - Coder Coder
html - Fluid width with equally spaced DIVs - Stack Overflow
Horizontal centering using CSS fit-content value - Catalin Red