JSFiddle - React, Tailwind, and code Playground HTML <p>test</p> JavaScript var cssFunc = $.fn.css.bind($('p')); alert(cssFunc('color'));