CodePen

HTML

            
              <form>
  <a href="#" class="button form_cancel">cancel</a>
  <input type="submit">
</form>
            
          
!

CSS

            
              body {
 background: #eee; 
}

form {
    width: 260px;
  margin: 20px auto;
  position: relative;text-align: center;
}

form input[type="submit"],
a.button {
	background: none repeat scroll 0 0 #dddddd;
    border: 1px solid #aeadad;
    box-shadow: 0px 3px 1px -1px rgba(0,0,0,0.5);
    color: #232323;
    display: block;
    font-size: 0.8em;
    padding: 7px 0 7px;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: 120px;
}


form input[type="submit"]:hover,
a.button:hover {
	background: none repeat scroll 0 0 #444;
  border: 1px solid #444;
	box-shadow: 0 3px 1px -1px rgba(0, 0, 0, 0.5);
	color: #fff;
}

form input[type="submit"]:active,
form input[type="submit"]:focus,
a.button:active,
a.button:focus {
	background: none repeat scroll 0 0 #444;
  border: 1px solid #444;
	box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.5);
	color: #fff;
	margin-bottom: -1px;
	margin-top: 1px;
	outline: 0;
}

form input[type="submit"],
	.form_cancel {
		float: left;
		font-family: Calibri;
		height: 30px;
		padding: 0 !important;
		vertical-align: middle;
	}

	.form_cancel {
		height: 28px;
	    line-height: 28px;
	}

	.form_cancel:focus,
	.form_cancel:active {
		margin-bottom: -1px;
	}

 form input[type="submit"] {
		border-radius: 0; /*Fix for iOS*/
		cursor: pointer;
		margin: 0 0 0 15px;
		padding: 2px 0 2px;
		width: 120px;
		-webkit-appearance: none !important;
	}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................