format button css code example Example: formatting a button in css .btn1:hover { background-color: #008CBA; color: white; }