Explorar el Código

Improving button styling

Kirk Trombley hace 5 años
padre
commit
8a9b180f26
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      client/src/index.css

+ 6 - 1
client/src/index.css

@@ -17,12 +17,17 @@ code {
 
 button {
   border-radius: 0px;
-  border: none;
+  border: 1px solid #555;
   padding: 8px;
   background-color: #555;
   color: #fff;
   font-weight: 600;
   cursor: pointer;
+  transition: background-color 300ms;
+}
+
+button:hover {
+  background-color: #777;
 }
 
 button:focus {