.design-inline-cards { display: flex; margin: 0 -20px; > * { flex: 10%; margin: 0 20px; } img { width: 100%; max-width: 100%; } h4 { margin-bottom: 0; } }