Play animation on scroll
I want to add scroll animation on WordPress page, but only "page load" works. How can I play animation on scroll successfully?
Prefix tailwind variables and remove admin CSS from loading on every page, post/page list tables are unusable now, and frontend is completely broken on themes using tailwind
Post/Page/CPT list tables in the admin are unusable (can't scroll and spacing is wonky when the plugin is activated due to the CSS being loaded wholesale into the admin, and tailwind using the same class names as some WP table components such as "fixed". Other admin styling such as fonts are broken because of this as well. Frontend theme breaks when using an animation on a page due to tailwind conflicts To fix: Only load the CSS on your admin page, and in your block (enqueue_block_assets). More importantly is you need to prefix your tailwind css classes, otherwise it conflicts with themes using tailwind (and ones using generic class names such as fixed, flex, etc.) - https://tailwindcss.com/docs/configuration#prefix