body { margin: 0; } header { padding: 10px; } header > h1 { margin: 0; font-size: 1.2em; } header ul { list-style: none; display: flex; gap: 5px; margin: 0; padding: 5px; } #items { list-style: none; padding-left: 0; margin: 5px; } #items > li { padding: 5px; margin: 2px; background-color: #eef0ff; display: flex; flex-direction: column; }