.button { /* margin: 25px 50px 75px 100px; */ background-color: white; color: black; padding: 15px 32px; font-size: 16px; text-align: center; border: 2px solid #4CAF50; /* Green */ -webkit-transition-duration: 0.2s; /* Safari */ transition-duration: 0.2s; text-decoration: none; } .button:hover { background-color: #4CAF50; /* Green */ color: white; } li.button-div { background: white; margin-bottom: 50px; } li.button-div:last-child { margin-bottom: 0px; } ul { list-style-type: none; }