remove shadow in jquery 1

remove shadow in jquery

$(".pagewrap .page").css("box-shadow", "none");

Here is what the above code is Doing:
1. It’s adding a class to the body tag called “no-scroll”
2. It’s adding a class to the .pagewrap div called “no-scroll”
3. It’s adding a class to the .page div called “no-scroll”
4. It’s removing the box-shadow from the .page div

The reason we’re doing this is because we want to remove the scrollbar from the page, and we want to remove the box-shadow from the page so that it doesn’t show up when the page is scrolled all the way to the top or bottom.

Now, let’s add the code that will remove the “no-scroll” classes from the body, .pagewrap, and .page divs when the user clicks on the “X” button.

Similar Posts