Template:MirrorH/doc

A shorthanded CSS code for horizontally mirroring elements inside style attribute. Use it inside the  attribute of HTML elements like other CSS properties.


 * Named Parameter  allows to change the CSS display property. It defaults to

When using this template to create the mirrored effect, editors should consider carefully about the accessibility.


 * This template does not support IE8 or older browsers. IE8 requires cumbersome calculating of matrices. You may implement it into this template if you know how to translate the formula into Lua.

Examples
The mirroring happens at the center of the whole object and its effective dimensions will retain the original values of the object as if unmirrored, so you may adjust the position and padding to avoid unwanted overlapping. Use the  parameter to further control positioning.