Setting position (absolute, fixed) causes flex layout to not take effect

Personal solution: put a div outside the dom where display: flex is to be set, and set the width, that's it,

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325330134&siteId=291194637