css button generator w3schools 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: css button generator
<!-- The <button> tag produces a button. Place the text/media you want to be
on the button by placing it between the opening and closing tags: -->
<button>Click me!</button>
<!-- It is possible to add attributes, such as 'id' and 'type', into the
opening tag, just like most other elements: -->
<button id="submitButton" type="submit">Click here to submit!</button>