DEV Community

avcat
avcat

Posted on

overflow-x: clip > overflow-x: hidden

Due to the known bug, you cannot have overflow-x: hidden and overflow-y: visible at the same time.

But you can with overflow-x: clip — this is basically the fixed version, plus you don’t need to explicitly specify the overflow for another axis.

Support: 92%.


Source: Kevin Powell.

Top comments (0)