Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialErik Nuber
20,629 Points.no-flexbox class when creating fallback CSS.
Would like to know why this is being used and, how it actually is working within the CSS when it doesn't seem to reference a class in either the HTML or the modernizr.js file.
We included a Modernizr.js file and linked it via a script but otherwise, there isn't a class for "no."
1 Answer
christophe Bonge
6,618 Pointshi, after linked modernizr.js to your html file, if you emulate this file in IE 9 ( which doesn't support flexbox ) you will see in the IE9 dev tools a class="no-flexbox" in your HTML element . This is the class you will use to make a fallback for IE 9.