How to use Modernizr on Webflow

I see that every site built with Webflow automatically includes an instance of Modernizr with it. From what I can tell it seems that this is an automatically customized installation of it and NOT the full developer install with all possible detects included.

My question is: How do we customize the detects on Modernizr using Webflow? For instance, if I want to detect if a user’s browser supports Flexbox and then fire a particular class depending on that, how do I do that? I guess the issue is I don’t know if the Modernizr install with Webflow includes detects for Flexbox or not, since it appears to only contain a limited number of detects.

I hope that makes sense. Thank you for your help everyone!

There isn’t away to customize Modernizr in Webflow.

You can export the code and update Modernizr from there, but then you can’t bring your changes back into Webflow.

I’m not sure what is included in the modernizr file.

Does anyone know if there’s a solution to working around this? Is the Webflow staff aware of and working to fix this limitation?

Bumping this.

Anyone?

This topic was automatically closed after 60 days. New replies are no longer allowed.