<style> :root { font-size: 10px } body { font-size: 12px } </style> <body>Outside<iframe src=unit-rem-iframe-inside.html></body>