Create a gist now

Instantly share code, notes, and snippets.

@billerickson /_blocks.scss Secret
Last active Feb 26, 2018

Embed
What would you like to do?
.wp-block-button {
margin-bottom: $base-margin;
text-align: center;
.wp-block-button__link {
@extend %button;
}
}
%button {
background: $highlight;
border: none;
border-radius: 4px;
box-shadow: none;
color: $white;
cursor: pointer;
padding: 10px;
text-align: center;
text-decoration: none;
width: auto;
-webkit-appearance: none;
&:hover {
background-color: darken( $highlight, 10%);
color: $white;
text-decoration: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment