Jump to content

Button Customization - Dropshadow Outline?

Recommended Posts

2 hours ago, katiedunnit said:

Hey folks, struggling to get the css to do a button like this one attached, anyone know? 

Plan to add in a "click" effect too.

Screen Shot 2021-09-30 at 3.04.56 PM.png

Try box-shadow with 2 box-shadow

Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow

buttonCssselector {
	box-shadow: 5px 5px #fff, 5px 5px 0px 3px black;
    border-radius: 5px;
}

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 10/1/2021 at 4:14 AM, katiedunnit said:

Hey folks, struggling to get the css to do a button like this one attached, anyone know? 

Plan to add in a "click" effect too.

Screen Shot 2021-09-30 at 3.04.56 PM.png

Try

#button-block-id a {
	box-shadow: 5px 5px #fff, 5px 5px 0px 3px black;
    border-radius: 5px;
}

Use this tool to find button block id. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.