Flex写起来省劲很多,只用加上flex-wrap:wrap在container上。Html5 playground 转载于:https://www.cnblogs.com/hualiu0/p/11096533.html