Method of treating distal compatibility

Method of treating distal compatibility

  1. BROWSERHACKS is a website, it is also a data collection, which will describe how to identify different browsers and different browser versions of a variety of Black &
  2. html5shiv.js
    His-Script IS the defacto at The Way to enable use of the Sectioning Elements HTML5 in Internet Explorer Legacy. http://paulirish.com/2011/the-history...
    Shim is to help supplement your old browser, to make the code more smoothly
    tradition ie5, ie6, ie7, ie8 do not support html5 tag, the corresponding style does not support, ie through the expression so that the old IE recognizes and supports HTML5 elements
    <!--[if lt IE 9]>
    	<script src="bower_components/html5shiv/dist/html5shiv.js"></script>
    <![endif]-->
    
  3. The Respond
    A FAST & Lightweight polyfill for min / max-width CSS3 Media Queries (IEs for 6-8, and More)
    ie6-8 not support media queries, response achieved through the design expression ie
  4. Modernizr
    Modernizr Tells you the What HTML, CSS and JavaScript Features at The the User's Browser has to the offer.
    a js library, browser detection procedures to detect browser support for HTML5, CSS3 and JavaScript features such case, if the browser supports a property or properties will be added to the corresponding class html element, if you do not support the nO will be added at the beginning of class, the less clear the property in this way can take proactive detection to resolve compatibility issues, the initiative to provide comprehensive support and do not support protocol (defensive programming)
    Example:
    .svg .log{
    background-image:url(logo.svg)
    }
    .no-svg .log{
    background-image:url(logo.png)
    }
    
  5. I use the I CAN
    "CAN use the I" the Provides up-to-DATE Browser Support the Tables of Support for Front-End Web Technologies ON Desktop and Mobile Web browsers.
    Often need to check browser compatibility front-end development time, recommended here (Can I Use) this is a query for a front-end developers to customize the CSS, Js popular browser features and compatibility in a bell website, you can guarantee a good web browser compatibility. With this tool you can quickly see the effect of the code in each browser bell.
Published 42 original articles · won praise 4 · Views 4620

Guess you like

Origin blog.csdn.net/lucasxt/article/details/90178549