.applist ul{ width: 100%; display: flex; flex-wrap: wrap; padding: 10px 0; } .applist li{ width: 12.5%; display: flex; flex-direction: column; align-items: center; } .applist img{ width: 64px; height: 64px; background-color: #ddd; } .applist span{ line-height: 1.5; margin-top: 10px; padding: 0 5px; } .sl-2{ overflow : hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }