Win 10 Chrome 64
Hi @samliew… I think this is by default to not respect the margin auto when using flex…not sure the exact case, but here is some additional info: https://stackoverflow.com/questions/34862068/flexbox-auto-margins-dont-work-with-justify-content-center-in-ie
I will check but I think this is by design.
Maybe ability to set margin-auto should be disabled while item is in flex mode? Now it is not exactly expected to have your flex property removed by setting auto on margins and can be overlooked by users.
Seems like we can use auto margins with flex based on the spec referenced by the answer.
It just doesn’t work with IE (because it’s their fault for not following spec), but who cares about IE nowadays…