Pressed Down Solid Drop Shadow Button
Description
Add a pressed down effect to any button block size – along with a solid drop shadow style. This plugin uses css editor and works with all template families.
How To Install
Add a button to any page with a solid or outline button style.
Once a button has been added and saved, go to the Custom CSS Editor. Copy and paste the code below into the Custom CSS Editor box.
// Solid Drop Shadow Button // .sqs-block-button .sqs-block-button-element--medium { box-shadow: 5px 5px #FF6969; transition: all ease-in .05s; } .sqs-block-button .sqs-block-button-element--medium:active { box-shadow: none; transform: translateY(4px) !important; transition: all ease-in .05s; }
Customize
Adjust the box shadow color to your liking.
You do not need to change the transform or transition values. This helps create the effect of the button being pushed down.
The code works for the medium button block. If you want to modify a small or large button, replace all .sqs-block-button-element--medium text with either .sqs-block-button-element--small or .sqs-block-button-element--large.
Be sure to keep :active at the end of the last code.