Blocked scrolling

Asked

Viewed 48 times

0

Hello, I have the following problem, I have a code that is a slide that changes itself, but it was made to rotate in the background and when you put it on a page, the slide stays on the whole screen, you scroll the content but the slide continues behind, I wanted to put it in the background of a div so that I could roll it and it would go up and not get behind the other content. I’ve tried several ways, but since I don’t know much about the front, I couldn’t, so if anyone can help me, I’d appreciate it. I’ll leave the Git link

https://github.com/pericles97/BackgoundSlide_/

1 answer

1

If your slide is fixed in the background, so he’s

.slideshow {
    position: fixed;
    z-index: 0;
}

in your CSS.

Remove the position from it and leave the default which is relative and remove the z-index as well (default is auto, which is the stacking of the elements in the order they are declared).

If you need more help, put your code to run so we can see the presentation.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.