Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

Please help me out

Hey all, I am working on web application for mobile platform which has side menu to which i gave property of margin-right of -100% & for making myself sure that side menu should be hidden i give body property of overflow-x of hidden. But on some devices it side menu still there on swiping in right direction. https://postimg.org/image/q5ojizs6f/

site link : http://registration.esy.es

1 Answer

Steven Parker
Steven Parker
216,149 Points

If you don't want an element to be seen, instead of placing it to the side, why not just set "display: none"?