1.nth-of-type 和 nth-child 区别
- nth-of-type 第几个type
- p:nth-of-type(2) 第二个p标签
- p.highlight:nth-of-type(2) 第二个p标签且类为highlight
- nth-child 子元素的第几个
- p:nth-child(2) 第二个子元素为p的标签
- p.highlight:nth-child(2) 第二个子元素为p的标签且类为highlight
2.git
-
git remote add origin xxxxxxxxxx
-
git merge --allow-unrelated-histories
-
push 过程中如果远端分支名不同于本地分支名时,则需要将两边名称都写上:
git push origin [本地分支名:远端分支名]
博客介绍了nth-of-type和nth-child的区别,nth-of-type指第几个type,nth-child指子元素的第几个。还提及了git操作,如添加远程仓库、合并无关历史,以及push时远端和本地分支名不同的处理方法。
1201

被折叠的 条评论
为什么被折叠?



