February 19, 2017
Add a transparent button with solid color hover
Author:
BB
Description:
This rule will apply to the buttons in both the Button module and Callout module.
To create a transparent button with a solid hover color:
- Add a Button or Callout module, or open one for editing.
- On the Style tab, set a background color.
This will become transparent when you apply the CSS, but setting a background color opens the Style section in the editor. - Set the background hover color. In this example, the hover color is black.
- Set a dark text color for the transparent button, and a text hover color.
- In the Style section, set the Style to Transparent and change the Border size if you want.
- Set the Background opacity to 0% and the Background hover opacity to 100%.
- Enable the Transition if you want a more gradual change to the solid color.
- Click Save.