HTML and CSS Reference
In-Depth Information
JSS property
CSS property
See section
paddingTop
padding-top
textDecoration
text-decoration
textTransform
text-transform
textAlign
text-align
textIndent
text-indent
verticalAlign
vertical-align
whiteSpace
white-space
width
width
JSS also defines three methods that allow you to define margins, pad-
ding, and border widths within a single style property. The three meth-
ods,
margins()
,
paddings()
, and
borderWidths()
, accept four parameters,
corresponding to the top, right, bottom, and left margins, padding, and
border width, respectively. Unlike their CSS counterparts (
margin
, dis-
border-width
, discussed in
section 8.4.7.4
)
, these JSS methods require
that you always specify all four parameters. There is no shorthand way
in JSS to set multiple margins, paddings, or border widths with a single
value.