On Sunday, May 3, 2015, Crest Christopher <crestchristop...@gmail.com> wrote:
> When using Modernizer for older browsers, in most of my cases IE7 & 8. Do > I strictly place the same rules that I've placed for newer browsers for > older versions of IE style sheet, then let Modernizer do what it does best ? > > Christopher > > > Modernizr doesn't make old browsers render like new browsers. It gives you ways to create styles for less capable browsers - among other things. If you inspect your page with modernizr added, you will see a bunch of classes added to the html element. Use those as hooks in your CSS to write rules for each situation where a browser lacks support (or the opposite). For example, if you have rules for transitions that don't work in a browser that doesn't support transitions, then Modernizr would add a class of no-transitions (for example. Read docs or inspect the page for actual class names) so you can write fallback styles for that browser. .mydiv{transition styles} .no-transition .mydiv{fallback styles} -- Tom Livingston | Senior Front-End Developer | Media Logic | ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com #663399 ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/