@KTrick01
Posted
Hi! After tinkering around I found that the elements causing overflow are this ones:
- Nav element (Because it has 100vw width)
- div with class content2 (Because it has a width in vw too, i dont recommend you that)
If in the future you have this same problem, a little trick to identify the elements causing overflow is to give all elements a border Something like this: * {border: 1px solid black}
, this way you will be able to see wich container is overflowing
Marked as helpful
@yunusemrecinar
Posted
@KTrick01 Omg. This works like a charm. It is a simple and efficient technique. I didn't think to do this. Thanks a lot!