custom button colour css code example

Example 1: button css

<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;
}

Example 2: how to configure buttons in css

div.wpforms-container-full .wpforms-form button[type=submit] {
 
color: #0099CC; /* Text color */
 
background-color: transparent; /* Remove background color */
 
border: 2px solid #0099CC; /* Border thickness, line style, and color */
 
border-radius: 5px; /* Adds curve to border corners */
 
text-transform: uppercase; /* Make letters uppercase */
 
}

Tags:

Css Example