Template:Xbrowsercss: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(+opera, +cat, +example)
m (br)
Line 1: Line 1:
<includeonly>{{{1}}};-webkit-{{{1}}};-moz-{{{1}}};-o-{{{1}}};</includeonly>
<includeonly>{{{1}}};-webkit-{{{1}}};-moz-{{{1}}};-o-{{{1}}};</includeonly><noinclude>'''Example usage:'''
<noinclude>
'''Example usage:'''
  <nowiki><div style="{{Template:Xbrowsercss|box-shadow: 0px 0px 4px black}}">A block with shadow in a variety of browsers</div></nowiki>
  <nowiki><div style="{{Template:Xbrowsercss|box-shadow: 0px 0px 4px black}}">A block with shadow in a variety of browsers</div></nowiki>



Revision as of 14:21, 12 June 2011

Example usage:

<div style="{{Template:Xbrowsercss|box-shadow: 0px 0px 4px black}}">A block with shadow in a variety of browsers</div>

Result:

A block with shadow in a variety of browsers


Note: most CSS properties don't require this. It's meant for fairly new CSS features which haven't been fully implemented in all browsers yet.