Jump to content

How can I get rid of header's shadow when the elevation = 0?

Recommended Posts

Hi, this is my first time learning HTML and CSS and I can't figure this out..;( 

I added a box-shadow to the header but I want the shadow to appear only when user scrolls down. 

So the shadow should not appear when the elevation is at 0... How can I achieve this? 

I think it has something to do with   

.MuiPaper-elevation0 {
  box-shadow: none;
}

.. please help me!

 

Screen Shot 2021-06-28 at 10.22.31 AM.png

Link to comment
  • Replies 1
  • Views 109
  • Created
  • Last Reply

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.