CSS1 Rule to Nav4 JS

Mapping CSS1 property name to JavaScript property name: drop hyphens and change next character to uppercase.

Example: CSS1 font-size is JS fontSize.

Multivalue properties are exceptions: border-width is borderWidths(), margin is margins(), padding is paddings().

Speaker Notes