`auto-fit` in combination with `min-content`

Heyy, I have a new question. I was just experimenting with auto-fit when I ran into this issue. It says that the grid-template-columns value is invalid: https://jsfiddle.net/KonerDev/c54gxq83/1/

If I replace the auto-fit with e.g., 4, it works, but then I loose the auto-wrapping behavior.
What's wrong here?
JSFiddle - Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle.
Was this page helpful?