说明E F:nth-child(n)和E F:nth-of-type(n)两种选择器
Posted yun---meng
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了说明E F:nth-child(n)和E F:nth-of-type(n)两种选择器相关的知识,希望对你有一定的参考价值。
区别:
E F:nth-child(n)表示:选择父元素E的第n个子元素F,(n可以是1、2、3 ),关键字为even、odd。
E F:nth-of-type(n)表示:选择父元素内具有指定类型的第n个F元素。
使用场景:
E F:nth-child(n)表示:在父级里从一个元素开始查找,不分类型。
E F:nth-of-type(n)表示:在父级里先看类型,再看位置
!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjU1NDUtMTU3NjQ1NzM4MTI5MiIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJsaW5lLWhlaWdodCI6MS4yNSwiYWxpZ24iOiJsZWZ0IiwiaW5kZW50IjowLCJ0ZXh0LWluZGVudCI6MCwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLljLoiLCJzdHlsZXMiOnsiYm9sZCI6dHJ1ZSwiZm9udC1mYW1pbHkiOiJLYWlUaV9HQjIzMTIiLCJmb250LXNpemUiOjE4fX0seyJjaGFyIjoi5YirIiwic3R5bGVzIjp7ImJvbGQiOnRydWUsImZvbnQtZmFtaWx5IjoiS2FpVGlfR0IyMzEyIiwiZm9udC1zaXplIjoxOH19LHsiY2hhciI6Iu+8miIsInN0eWxlcyI6eyJib2xkIjp0cnVlLCJmb250LWZhbWlseSI6IkthaVRpX0dCMjMxMiIsImZvbnQtc2l6ZSI6MTh9fV0sImlzUmljaFRleHQiOnRydWUsImtlZXBMaW5lQnJlYWsiOnRydWV9fSx7ImJsb2NrSWQiOiIyOTY3LTE1NzY0NTczODEyOTIiLCJibG9ja1R5cGUiOiJwYXJhZ3JhcGgiLCJzdHlsZXMiOnsibGluZS1oZWlnaHQ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NIiwic3R5bGVzIjp7ImZvbnQtZmFtaWx5IjoiS2FpVGlfR0IyMzEyIiwiZm9udC1zaXplIjoxOH19LHsiY2hhciI6IueciyIsInN0eWxlcyI6eyJmb250LWZhbWlseSI6IkthaVRpX0dCMjMxMiIsImZvbnQtc2l6ZSI6MTh9fSx7ImNoYXIiOiLkvY0iLCJzdHlsZXMiOnsiZm9udC1mYW1pbHkiOiJLYWlUaV9HQjIzMTIiLCJmb250LXNpemUiOjE4fX0seyJjaGFyIjoi572uIiwic3R5bGVzIjp7ImZvbnQtZmFtaWx5IjoiS2FpVGlfR0IyMzEyIiwiZm9udC1zaXplIjoxOH19XSwiaXNSaWNoVGV4dCI6dHJ1ZSwia2VlcExpbmVCcmVhayI6dHJ1ZX19XQ==-->以上是关于说明E F:nth-child(n)和E F:nth-of-type(n)两种选择器的主要内容,如果未能解决你的问题,请参考以下文章