Template:RBNS

From Dissent
Revision as of 22:49, 8 August 2017 by Strangelv (talk | contribs) (Tweaking documentation)
Jump to navigation Jump to search


CSS styling template. Place inside a style attribute.

Settings

  • border: border color
  • radius: radius of corners
  • webkit: radius of corners for browsers that respond to -webkit-border-radius

Separate Webkit control is a bugfix for an early gradient and rounded corner bug that only affects transitional CSS3 Webkit browsers; try setting to zero or the same as the normal radius. This may be necessary for consistent corners when combining this with other templates.


Examples

Defaults

Taxation
is
Theft

<DIV style="width: 25em; text-align:center; {{RBNS}}">
'''Taxation<BR/>is<BR/>Theft'''
</DIV>

Customized

Taxation
is
Theft

<<DIV style="width: 25em; text-align:center; {{RBNS | border=#FF007F | radius=2em | webkit=4em}}">
'''Taxation<BR/>is<BR/>Theft'''
</DIV>