.customButton { border: 10px solid #000000; border-radius:10px; padding:10px; margin:10px; background-color:#f9f9f9; color:#000; font-weight:normal; opacity:1; transition:1s; } .customButton:hover { cursor:pointer; background-color:#F9F9F9; opacity:1; transition:1s; color:#000; }