网络 检测插件;摩登家;检测类库
It´s the most exciting time to be a web developer right now, which is reflected in the strong community support around Modernizr.
作为web开发人员,这是最令人激动的时代,从社区对Modernizr强有力的支持就可以看出。
The mantra of feature detection also helps and these days, we have library support from the likes of Modernizr to support responsive web design.
念一下功能检测这种咒语也是有所帮助的,现在,我们已经有了从支持Modernizer爱好者到支持响应式web设计的库。
Faruk (Modernizr) : Modernizr is very small and straightforward, really: we run a series of tests, and each test detects a specific feature in the browser.
Faruk (Modernizr): Modernizr非常小巧简洁:我们运行了一系列测试,每一个测试都会检测浏览器中的特定特性。
JQuery and other frameworks existed, but none of them offered the key thing that Modernizr does, so I decided to make Modernizr focus solely on that one key thing, which is feature detection.
虽然有jQuery和其他的框架的存在,但是Modernizr能够支持它们不能支持的关键特性,因此我决定只有一件事情是Modernizr需要关注的,那就是浏览器特性支持检测。
Modernizr allowed me to very easily and safely target browsers based on their capabitilies and feed them different CSS rules—rules which would conflict and override each other without Modernizr.
Modernizr允许我能够安全且容易地找出浏览器的类型,然后根据不同的浏览器使用不同的CSS规则 - 如果没有的Modernizr的话,这些规则可能会互相冲突或者出现重载。