<!DOCTYPE HTML> <html> <body> <div style="overflow:scroll; width:300px; height:100px; background-color:lime;"></div> <div style="background-color:yellow; width:300px; height:100px; margin-top:-50px; position:relative; z-index:1;"></div> </body> </html>