Why isn't :nth-child working in IE9?

前端 未结 5 2031
野趣味
野趣味 2020-12-10 03:57

According to this page, :nth-child should work in IE9, and I have tried it before and it worked fine, but on this page, it does not appear to be working. View the page in Ch

5条回答
  •  心在旅途
    2020-12-10 04:47

    My version of IE9 was locked into IE8 rendering mode, which wasn't applying the following selector:

     .parentClass > div:nth-child(n+2) .childClass
    

    Here is where you can find the options to change it:

    Where in IE9 to Adjust Browser and Document mode

提交回复
热议问题