Skip to content

Instantly share code, notes, and snippets.

@longjasonm
Last active December 11, 2015 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save longjasonm/245a07a54ecd30aec288 to your computer and use it in GitHub Desktop.
Save longjasonm/245a07a54ecd30aec288 to your computer and use it in GitHub Desktop.
CSS3 Button Code for Marketo Pages
<!-- 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