Little H title

this is subtitle


  • 首页

  • 关于

  • 标签

  • 分类

  • 归档

  • 公益404

css-:nth-child和:nth-of-type的区别

发表于 2019-05-15 | 分类于 css教程

‘css-:nth-child 和:nth-of-type 的区别’

说的就是

  • :nth-child 这个就是看子, 然后又有 if 这个条件
  • :nth-of-type 直接看这种类型的第几个, 都是同类型就没有 if 的判断了

参考

css-:nth-child 和:nth-of-type 的区别

# css
javascript-AJAX
eslint简单使用
  • 文章目录
  • 站点概览
Henry x

Henry x

this is description

133 日志
25 分类
135 标签
GitHub E-Mail
Links
  • weibo
  1. 1. ‘css-:nth-child 和:nth-of-type 的区别’
  2. 2. 参考
© 2019 Henry x