Using jQuery syntax to perform Vanilla JS and CSS3 operations