<!DOCTYPE html> <style> #test { position: absolute; top: 100px; width: 100px; height: 100px; background: green; transform: translateZ(0); } </style> <div id="test">This box should transition from red to green.</div>