CodeZettaInterview Hub

CSS · Box Model · Senior · Debugging

Explain overflow, scroll containers, and sticky pitfalls.

Short Interview Answer

Overflow creates scrollports; sticky needs non-hidden ancestors and room to travel.

Detailed Explanation

overflow: hidden can kill sticky and create BFCs. Know which ancestor clips.

Did you know this answer?