1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<!DOCTYPE html> <html> <head> <title>Bug 1392161 - Translate rounding reference (viewport)</title> <style> div { height: 100px; width: 100px; background: blue; position: relative; left: 50vw; } </style> </head> <body> <div></div> </body> </html>