Ghost Plugins

View Original

Pressed Down Solid Drop Shadow Button

See this gallery in the original post

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.

See this content in the original post

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.


See this gallery in the original post