.list-wrapper { > div { &:nth-child(2n) { background: #fff; } &:nth-child(2n + 1) { background: #fafafa; } &:hover { background: #f2f2f3; } } }