.buttonDet, .buttonEdit { width: 4rem; height: 4rem; display: flex; align-content: center; flex-wrap: wrap; } .buttonDet button { background-color: rgba(86,184,167,0.2); border: none; padding: 0; text-align: center; border-radius: 50%; height: 75%; width: 75%; color: #56b8a7; } .buttonEdit button { background-color: rgba(254,152,83,0.2); border: none; padding: 0; text-align: center; border-radius: 50%; height: 75%; width: 75%; color: #fe9853; }