If, in JavaScript, you need to reference/manipulate CSS properties at runtime that contain a hyphen or dash in their names, omit the hyphen and, instead, camelcase the surrounding letters. You need to do this because hyphens in JavaScript variable names are illegal. For example, this won't work:
Join my email list and be notified whenever a new post is published.
I don't spam. You may unsubscribe at any time.
An unsubscribe link is provided at the bottom of all notification emails, which are sent using the Mailchimp email delivery platform. Please read my complete privacy policy for exhaustive details.
Thank you! Your comment has been submitted and is awaiting approval.
Unfortunately, we were unable to process your submission.
You may either your submission or reach out via
It looks like you are using an older browser.
As such, most/all interactive functionality (such as submitting comments) has been disabled.
Please consider upgrading your browser.
Congratulations! You are now subscribed to this post and will receive an email notification whenever a new comment is added.
If you would like to unsubscribe, click on the unsubscribe link provided at the bottom of every notification email.
Unfortunately, we were unable to process your subscription confirmation.
You might want to try clicking through your confirmation email again.
Alternatively, you can submit another comment and again opt to subscribe to follow-up comments.
Leave a comment