NAV Position Absolute of parent

I have a NAV bar with buttons on it. Each button is inside a container class. The container has position relative and as well as the button I have a box DIV which has 0 opacity until clicked. Once click it has opacity and position absolute. The issue I have is my position absolute flows over and off the right of my screen giving me a overflow-x scrollbar or white space. How can I force is to flow left of the parent not outwards to the right?
1 Reply
clevermissfox
clevermissfox7mo ago
can you paste the relevant code into https://codepen.io please . It makes it possible for the brilliant guys around here to see what the issue is and help. Otherwise they are just guessing at whats in your code.
CodePen
An online code editor, learning environment, and community for front-end web development using HTML, CSS and JavaScript code snippets, projects, and web applications.
Want results from more Discord servers?
Add your server