In general, CSS properties are converted to JavaScript by making them camelCase without any dashes. So background-color becomes backgroundColor.