<html> <head> </head> <body> <div style="overflow: hidden; width:50px;height:50px;"> <div style="position: fixed;"> <div style="position: fixed;"> <div style="width: 100px; height: 50px; background: red;"></div> </div> </div> </div> </body> </html>