Template talk:Xbrowsercss
From The Urban Dead Wiki
Jump to navigationJump to search
Used for CSS3 properties that are still implemented using browser-specific code in Firefox and WebKit. For instance, with the box-shadow, you could use this template as follows:
{{xbrowsercss|border-radius: 10px}}
Doing so would produce:
border-radius: 10px;-webkit-border-radius: 10px;-moz-border-radius: 10px;-o-border-radius: 10px;
which should work in both Gecko-based (e.g. Firefox and Camino) and WebKit-based (e.g. Chrome and Safari) browsers. In theory.