Is okay to implement Modernizr with Twitter Bootstrap?

后端 未结 1 1008
星月不相逢
星月不相逢 2021-02-02 06:58

Is it OK to implement Modernizr with Twitter Bootstrap?

I\'m currently using Bootstrap with Google\'s html5shiv and I wanted to know if I can use Modernizr instead or is

相关标签:
1条回答
  • 2021-02-02 07:26

    Modernizr is a test suite that adds feature detection via classes applied to the body tag. It includes HTML5Shi(v|m) to add older browser compatibility. You don't need Modernizr just to style new tags in older browsers.

    That said, it is OK to include Modernizr with Twitter Bootstrap. You can even get an auto-generated H5BP template with Bootstrap and Modernizr included at Initializr.

    0 讨论(0)
提交回复
热议问题