Template:MirrorH/doc: Difference between revisions

[checked revision][checked revision]
Content deleted Content added
Created page with "{{Documentation subpage}} {{Commons Import}} <!-- Categories and interwikis go at the bottom of this page. --> A shorthanded CSS code for horizontall..."
 
No edit summary
 
Line 2:
{{Commons Import}}
<!-- Categories and interwikis go at the bottom of this page. -->
A shorthanded [[Wikipedia:Cascading style sheet|CSS]] code for horizontally mirroring elements inside style attribute. Use it inside the <code>style=""</code> attribute of HTML elements like other CSS properties.
 
*Named Parameter <code>display=</code> allows to change the CSS display property. It defaults to <code>display: inline-block;</code>
 
When using this template to create the mirrored effect, editors should consider carefully about the [[Wikipedia:WP:accessibility|accessibility]].
 
''{{A note}} 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 [[Wikipedia:Lua|Lua]].''