Skip to content

Instantly share code, notes, and snippets.

@peterj
Created November 30, 2020 20:47
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 peterj/c7dcf31217896818f1729d6e9cd4f279 to your computer and use it in GitHub Desktop.
Save peterj/c7dcf31217896818f1729d6e9cd4f279 to your computer and use it in GitHub Desktop.
Add a margin between email input and subscribe button (Gumroad)
.follow-user-form button {
transition: border-radius 1.5s cubic-bezier(.23,1.5,.32,1);
box-shadow: none;
margin-left: 15px;
border-radius: 5px;
display: inline-block;
position: relative;
height: 50px;
min-width: 50px;
vertical-align: top;
}
.follow-user-form input[type=email] {
transition: width .3s cubic-bezier(.23,1.5,.32,1),padding .3s cubic-bezier(.23,1.5,.32,1),opacity .3s cubic-bezier(.23,1.5,.32,1);
box-sizing: border-box;
padding: 15px;
border-radius: 5px;
display: inline-block;
height: 50px;
border: 1px solid #DADADA;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment