Hi there,
Here’s something I like to do:
button.ghost,
html input[type="button"].ghost, input[type="reset"].ghost, input[type="submit"].ghost, a.button.ghost,
a.button.ghost:visited,
a.wp-block-button__link.ghost:not(.has-background) {
background: transparent;
color: inherit;
border-color: inherit;
}
button.ghost:hover,
html input[type="button"].ghost:hover, input[type="reset"].ghost:hover, input[type="submit"].ghost:hover, a.button.ghost:hover,
a.wp-block-button__link.ghost:not(.has-background):hover {
background: transparent;
color: #1e73be;
}
This allows you to use this markup when creating your buttons:
<a class="button ghost" href="YOUR LINK">My button</a>
If you don’t want to have to add the ghost
class to the button, you can do this:
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.button:visited,
a.wp-block-button__link:not(.has-background) {
background: transparent;
color: inherit;
border-color: inherit;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
a.wp-block-button__link:not(.has-background):hover {
background: transparent;
color: #1e73be;
}