Skip to content

PDF - Nested transformation blocks are not rendered correctly

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>rotate.html</title>
    <style>
        @page {
            size: 350px 350px;
            margin: 50px;
        }

    </style>
</head>
<body>

    <p>Simple transform rotate example.</p>
    <div style="transform-origin: 50% 50%; transform: rotate(45deg); background: red; padding: 20px">

        I should be a rotated text.

        <div style="transform-origin: 50% 50%; transform: rotate(45deg); background: green; padding: 20px">
            me too
        </div>
    </div>

</body>
</html>
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information