.container { margin: 0; padding: 0; list-style: none; display: flex; flex-flow: row wrap; width: 600px; } .box { padding: 2px; line-height: 1; box-sizing: border-box; } .box.small { width: 12.5%; } .box.medium { width: 25%; } .box.large { width: 50%; } .box.extra-large { width: 75%; } .box .content { background: #333333; padding: 5px; } .label { font-size: 0.8em; font-weight: 600; text-transform: uppercase; color: #aaaaaa; } .value { text-align: right; margin-top: 3px; overflow: hidden; white-space: nowrap; color: white; } #info-vendor, #info-product, #info-id { display: none; }