<!DOCTYPE HTML> <html> <head> <style> div { position: absolute; top: 200px; left: 200px; width: 600px; height: 500px; background: yellow; opacity: 0.3; -moz-transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; -moz-transform: translate(-200px, -200px); -webkit-transform: translate(-200px, -200px); transform: translate(-200px, -200px); } </style> </head> <body> <div></div> </body> </html>