没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > Modernizr |
|
Modernizr
|
| 10 | 0 | 1741 |
| 贡献者 | 讨论 | 代码提交 |
概述
a JavaScript library allowing you to use CSS3 & HTML5 while maintaining control over unsupported browsers
Modernizr is a script that will detect native CSS3 and HTML5 features available in the current UA and provide an object containing all features with a true/false value, depending on whether the UA has native support for it or not.
In addition to that, Modernizr will add classes to the element of the page, one for each cutting-edge feature. If the UA supports it, a class like cssgradients will be added. If not, the class name will be no-cssgradients. This allows for simple if-conditionals in CSS styling, making it easily to have fine control over the look and feel of your website.
创建时间:2014-05-06 16:04
标签:
