Step 1 — plain list (no CSS)

Step 2 — remove the bullets and the left space

Step 3 — put the items in one row (inline-block)

Step 4 — style it: background, padding, colours, no underline