Skip to content

Instantly share code, notes, and snippets.

@vjo
Last active December 26, 2015 23:48
Show Gist options
  • Select an option

  • Save vjo/7232678 to your computer and use it in GitHub Desktop.

Select an option

Save vjo/7232678 to your computer and use it in GitHub Desktop.
Nice button, call to action.
<html>
<!-- From http://ionicons.com/ -->
<head>
<style>
body {
box-sizing: border-box;
padding-top: 136px;
border-top: 1px solid #4F8EF7;
color:#373737;
text-align: center;
font-size: 16px;
font-family: "AvenirNextLTPro-Regular", "Helvetica Neue", Helvetica, Arial, sans-serif;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
p {
margin: 25px 0;
}
a {
color: #4F8EF7;
text-decoration: none;
opacity: .7;
transition-property: color;
transition-property: opacity;
transition-duration: .1s;
transition-timing-function: ease-in-out;
}
a:hover, a:active, a:focus {
text-decoration: underline;
opacity: 1;
}
.download {
margin-top: 60px;
margin-bottom: 10px;
}
.download, .search {
margin-right: auto;
margin-left: auto;
max-width: 200px;
width: 100%;
}
.download a {
display: block;
padding: 12px 0;
border: 2px solid #4F8EF7;
border-radius: 4px;
background-color: white;
text-decoration: none;
font-weight: bold;
font-size: 22px;
}
.download a:hover {
background: #4F8EF7;
color: white;
}
</style>
</head>
<body>
<p class="download">
<a href="#"> Download </a>
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment