这是因为在布局中使用了 float: left;
float: left;
需要去掉浮动,具体样式如下:
.every_container { float: none; display: inline-block; // 一行排多个 vertical-align: top; //因高度不一致,靠顶部对齐 }
出处:https://blog.csdn.net/k_happy/article/details/88579601