Are there any hacks for max-width:-webkit-fit-content; for ie 8?
max-width:-webkit-fit-content;
Trying to get a child div to not take up the whole width of the parent and this works well
It might depends on the situation:
I had a block-level element with width: fit-content;. As this doesn't work on IE, the element was taking the full available width (as expected).
But I wanted it to just adjust its size to its content.
Finally, i fixed it with:
display: inline-flex;