Mr.Luan
0
Q:

html css good button

<a href="#" class="myButton">green</a>

.myButton {
	background-color:#44c767;
	border-radius:28px;
	border:1px solid #18ab29;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:16px 31px;
	text-decoration:none;
	text-shadow:0px 1px 0px #2f6627;
}
.myButton:hover {
	background-color:#5cbf2a;
}
.myButton:active {
	position:relative;
	top:1px;
}
5
<button style="background-color: turquoise; border: none; border-radius: 5px; color: #333; /* Dark grey */ padding: 15px 32px">Example button</button>
1
/* Answer to: "button hover css" */

/*
  Use the :hover selector to change the style of a button when you
  move the mouse over it.
*/

.button {
  background-color: #f44336;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.4s;
}

.button:hover {
  background-color: #4CAF50; /* Green */
  color: white;
}
4

.button {
  background-color: #4CAF50; /* Green */
  border: none;

    
color: white;
  padding: 15px 32px;
  text-align: center;
  
text-decoration: none;
  display: inline-block;
  font-size: 16px;

} 
1

New to Communities?

Join the community