.reflection-img{ width :510px; height :350px; position :relative; overflow :hidden; } .reflection { height :100%; width :30px; position :absolute; top :-180px; left :0; background-color: #fff; opacity :0; transform: rotate(45deg); animation: reflection 2s ease-in-out infinite; -webkit-transform: rotate(45deg); -webkit-animation: reflection 2s ease-in-out infinite; -moz-transform: rotate(45deg); -m