Skip to content

Instantly share code, notes, and snippets.

@pyfisch
Created June 18, 2017 20:57
Show Gist options
  • Select an option

  • Save pyfisch/fa263c8dfc57e5812fe8a4869ad61513 to your computer and use it in GitHub Desktop.

Select an option

Save pyfisch/fa263c8dfc57e5812fe8a4869ad61513 to your computer and use it in GitHub Desktop.
<!doctype html>
<style>
#button {
background-image: linear-gradient(-180deg, rgb(52, 208, 88) 0%, rgb(40, 167, 69) 90%);
border-color: rgba(27, 31, 35, 0.2);
border-radius: 6px;
border-style: solid;
border-width: 0.633333px;
color: rgb(255, 255, 255);
display: block;
font-weight: 600;
line-height: 20px;
padding: 12px 20px;
position: relative;
text-align: center;
width: 340px;
}
</style>
<button id="button">Sign up for GitHub</button>
@pyfisch
Copy link
Author

pyfisch commented Jun 18, 2017

Gradient should cover whole background.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment