Combining modernizr and selectvizr?
-
28-10-2019 - |
سؤال
I'm trying to get cross browser support for my HTML5/CSS3 site with the Selectivizr (for selecting HTML5 elements and check HTML5 browser support) and Modernizr to use CSS3 selectors. Sadly, combining a css3 selector with a html5 element results in no styling applied.
Offcourse i could easily change my stylesheet so it doesn't contains any CSS3 selectors, but i am wondering if there's a way to use HTML5 elements and CSS3 selectors cross-browser.
Any suggestions on the possibility of this getting to work?
المحلول
I have found the problem, actually selectivizr and modernizr both work nicely together. My stylesheet was depending on child selectors also, which selectivizr (logically, CSS2) doesn't fix.
لا تنتمي إلى StackOverflow