• Hi!

    Could you please stop changing animations CSS file location, I’m reusing this for some pages without using your plugin/editor. The last versions of the plugin changed it already 2 times.

    Alternatively, can you make some settings page, where we’d be able to enable the loading of CSS files on all pages?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Hey @webprom,

    We merged them into one file to optimize the web page speed. We won’t be changing the file location anytime soon now. 🙂

    Thread Starter Webprom Design

    (@webprom)

    thanks, but maybe better to allow the loading of CSS to all pages, to avoid future problems 🙂

    We merged them into one file to optimize the web page speed

    Can I suggest a plugin settings page where users will be able to toggle separate animations on and off? After they press “Save settings” the plugin generates CSS file that only contains enabled animations. This file is then enqueued whenever animations are used. That way we reduce CSS file size without creating tons of small files.

    Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Hey @rinart73,

    That really won’t be needed as our own styles are pretty small and don’t make the CSS any much heavier than animate.css already is.

    Also, we generate the CSS build during build process (before release) so we can’t separate or merge them based on options.

    If you were to separate them at build you would be able to join them later with PHP

    Plugin Author Hardeep Asrani

    (@hardeepasrani)

    @rinart73 We can do it but it’s really 1kb of CSS in a 70kb file. And probably we can extract more and make it less than half a kb of extra CSS. The optimization done here was to stop the server from making two HTTP calls instead of one. Our own CSS that we had is very small as we don’t need much.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘animations.css’ is closed to new replies.