Jump to content

Trying to apply CSS shadow to an image block. Nothing seems to work.

Recommended Posts

Site URL: https://aurmont.com

Hello,

I'm trying to apply most basic CSS shadow to an image block using the code below:

.sqs-block-image img {
  -webkit-box-shadow: 50px 50px 0px #000;
  -moz-box-shadow: 50px 50px 0px #000;
  box-shadow: 50px 50px 0px #000;
}

 

But nothing happens. I've tried targeting several different classes, but still no effect.

Your help would be greatly appreciated.

Link to comment
  • Replies 2
  • Views 426
  • Created
  • Last Reply
  • abc changed the title to Trying to apply CSS shadow to an image block. Nothing seems to work.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.