# rotate attribute

Type: | number
Inherited: | no
Used By: | All block elements
See: | background-macro overflow position

What angle to rotate the current block around it's center of gravity, in degrees clockwise from 12 o'clock. A blocks center of gravity is it's x position plus half it's width and the y position plus half it's height.
This attribute can create interesting effects, and is particularly useful for placing watermarks and similar on the page, but should be used with care as surrounding content may be overlapped by the rotated block.

This places a "Confidential" stamp on each page, rotated at 45% counter-clockwise

    <head>
    <macrolist>
      <macro id="watermark">
        <p rotate="-45" font-size="48pt">
          Confidential
        </p>
      </macro>
    </macrolist>
    </head>
    <body background-macro="watermark">