JavascriptCSS
Propriété de texte
textDecoration text-decoration
textDecorationLineThroughtext-decoration: line-through
textDecorationNonetext-decoration: none
textDecorationUnderlinetext-decoration: underline
textDecorationOverlinetext-decoration: overline
textIndenttext-indent
textTransformtext-transform
fontFamilyfont-family
fontSizefont-size
fontWeightfont-weight
fontVariantfont-variant
lineHeightline-height
letterSpacingletter-spacing
verticalAlignvertical-align
Propriété de position
styleFloatfloat
zIndexz-index
Propriété de liste
listStylelist-style
listStyleImagelist-style-image
listStylePositionlist-style-position
listStyleTypelist-style-type
Propriété de marge
paddingBottompadding-bottom
paddingLeftpadding-left
paddingRightpadding-right
paddingToppadding-top
marginBottommargin-bottom
marginLeftmargin-left
marginRightmargin-right
marginTopmargin-top
Propriété d'impression
pageBreakAfterpage-break-after
pageBreakBeforepage-break-before
Propriété de bordure
borderBottomborder-bottom
borderBottomColorborder-bottom-color
borderBottomStyleborder-bottom-style
borderBottomWidthborder-bottom-width
borderColorborder-color
borderLeftborder-left
borderLeftColorborder-left-color
borderLeftStyleborder-left-style
borderLeftWidthborder-left-width
borderRightborder-right
borderRightColorborder-right-color
borderRightStyleborder-right-style
borderRightWidthborder-right-width
borderStyleborder-style
borderTopborder-top
borderTopColorborder-top-color
borderTopStyleborder-top-style
borderTopWidthborder-top-width
borderWidthborder-width
Propriété de background
backgroundAttachmentbackground-attachment
backgroundColorbackground-color
backgroundImagebackground-image
backgroundPositionbackground-position
backgroundRepeatbackground-repeat
En cas de doute sur la propriété, il existe une rêgle qui marche presque a tous les coups :
- Prenez le nom CSS (ex : font-size)
- Mettez la lettre qui suit le - en majuscule (ex : font-Size)
- Effacer le - (ex : fontSize)
Voila, vous avez la propriété en JS

Les autres propriétés sont pour la plupart identiques en css comme en javasript car elles ne sont composées que d'un seul mot.

Source JDN

Discussion

Si vous ne pouvez pas lire les lettres, téléchargez ce fichier WEV et écoutez les.