/* ---- button ---- */ .button { display: inline-block; padding: 10px 18px; margin: 0 10px 10px 0; background: rgba(65, 106, 0, 0.473); border: none; border-radius: 300px; font-size: 16px; text-shadow: 0 1px white; transition: all .2s ease; } .button:hover { text-shadow: 0 1px hsla(0, 0%, 100%, 0.5); color: #222; } .button:active, .button.is-checked { background: linear-gradient(230deg, rgba(255, 0, 255, 0.902), rgba(66, 107, 0, 0.902)); background-size: 1000% 1000%; -webkit-animation: AnimationName 30s ease infinite; -moz-animation: AnimationName 30s ease infinite; animation: AnimationName 30s ease infinite; } .button.is-checked { color: white; text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8); } .button:active { box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8); } /* ---- button-group ---- */ .button-group{ display: flex; flex-wrap: wrap; justify-content: center; } // .button-group .button:first-child { // border-radius: 0.5em 0 0 0.5em; // } // .button-group .button:last-child { // border-radius: 0 0.5em 0.5em 0; // }