Aday Posted July 2, 2021 Share Posted July 2, 2021 Site URL: http://www.aday.design Hi! I'm trying to add two different inset values for a box-shadow on a button (in other words, adding 2 inner shadows). This is the result I'm trying to achieve, and this is the code used for it in CSS: Adding the first (top) inner shadow works just fine. However, whenever I try to set a negative value on either axis (in this case I'm interested on the Y one–the bottom inner shadow) the styles disappear altogether. When I paste the same code into the web inspector, the effect is perfectly showing up, but it seems there isn't a way to get it working on Squarespace. Any idea why this might be happening or any workaround? Thanks in advance and have a good day!! Beyondspace 1 Link to comment
Beyondspace Posted July 5, 2021 Share Posted July 5, 2021 On 7/3/2021 at 2:29 AM, Aday said: Site URL: http://www.aday.design Hi! I'm trying to add two different inset values for a box-shadow on a button (in other words, adding 2 inner shadows). This is the result I'm trying to achieve, and this is the code used for it in CSS: Adding the first (top) inner shadow works just fine. However, whenever I try to set a negative value on either axis (in this case I'm interested on the Y one–the bottom inner shadow) the styles disappear altogether. When I paste the same code into the web inspector, the effect is perfectly showing up, but it seems there isn't a way to get it working on Squarespace. Any idea why this might be happening or any workaround? Thanks in advance and have a good day!! I checked the inspector and you are settings negative value already? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment