.buttonlist { border-left: 1px solid #b3b3b3; padding-left: 0.5em; margin-left: 0.5em; } .buttonlist li { list-style: none; margin: 0; } .buttonlist li a { color: #454545; text-decoration: none; width: 100%; } .buttonlist li > * * { color: #454545; width: 100%; margin: 0; padding: 0.75em; transition: 0.5s; box-sizing: border-box; } .buttonlist li > a:hover * { background: #d9d9d9; color: black; }