-
-
Save longjasonm/245a07a54ecd30aec288 to your computer and use it in GitHub Desktop.
CSS3 Button Code for Marketo Pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Put this code in an HTML block in the LP editor --> | |
<style> | |
div.buttonSubmit span {display: none} | |
input#mktFrmSubmit{ | |
-moz-box-shadow:inset 0px 1px 0px 0px #a4e271; | |
-webkit-box-shadow:inset 0px 1px 0px 0px #a4e271; | |
box-shadow:inset 0px 1px 0px 0px #a4e271; | |
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #89c403), color-stop(1, #77a809) ); | |
background:-moz-linear-gradient( center top, #89c403 5%, #77a809 100% ); | |
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#89c403', endColorstr='#77a809'); | |
background-color:#89c403; | |
-moz-border-radius:6px; | |
-webkit-border-radius:6px; | |
border-radius:6px; | |
border:1px solid #74b807; | |
display:inline-block; | |
color:#ffffff; | |
font-family:arial; | |
font-size:15px; | |
font-weight:bold; | |
padding:5px 15px !important; | |
text-decoration:none; | |
text-shadow:1px 1px 0px #528009; | |
}input#mktFrmSubmit:hover { | |
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #77a809), color-stop(1, #89c403) ); | |
background:-moz-linear-gradient( center top, #77a809 5%, #89c403 100% ); | |
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#77a809', endColorstr='#89c403'); | |
background-color:#77a809; | |
}input#mktFrmSubmit:active { | |
position:relative; | |
top:1px; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment