【00】魔芋的理解nth-child(n)这样的带n的,n从1开始。n可以是表达式:n*3,n+3可以是特殊字符串“odd”,"even"【02】empty匹配没有任何子元素(包括text节点)的元素E。注意:如果开始标签和结束标签间有空格或是换行,都是属于有元素的。(魔芋:所以不实用)【04】no... ...
分类:
其他好文 时间:
2018-05-13 19:10:34
阅读次数:
124
$("ul li:eq(3)") // 元素的index位置工0开始计数,所以这里的3实际为第4个元素 $("ul").find("li").eq(3) 1 $(‘tr:nth-child(3)’) —选择tr父标签元素中的第三个tr孩子元素。 2 $(‘tr:nth-child(3n)’)—选择t ...
分类:
Web程序 时间:
2018-05-12 11:54:32
阅读次数:
151
salary = input("your salary =")_salary = int(salary)list = []for i in range(10): a = "1、iphone6s need 5800" b = "2、mac book need 9000" c = "3、coffee n ...
分类:
其他好文 时间:
2018-05-09 01:19:32
阅读次数:
142
官网 https://www.autosar.org/ 文档分类 按功能分 按类型分 CLASSIC PLATFORM The AUTOSAR Classic Platform architecture distinguishes on the highest abstraction level b ...
分类:
其他好文 时间:
2018-05-05 20:49:09
阅读次数:
455
p:nth-child(3) 寻找父元素的第三个标签为p的子元素。 p:nth-of-type(2) 在父元素的子元素中,仅寻找p标签的第二个元素。 ...
分类:
其他好文 时间:
2018-05-04 11:52:20
阅读次数:
96
#!/usr/local/bin/python3 # -*- coding:utf-8 -*- balance=int(input("Please input your salary:")) Merchandise_list=[[1,'Mac pro',16888],[2,'Iphone x',78... ...
分类:
其他好文 时间:
2018-05-03 19:50:22
阅读次数:
163
product_list = [ ("Aphone", 5000), ("Watch",1000), ("Book", 100), ("Food", 50),]shopping_list = []salary = input("Input of your salary:")if salary.isd ...
分类:
其他好文 时间:
2018-05-02 19:05:56
阅读次数:
142
一.前提: 表格的列是动态添加的 代码如下: dblclick 表示双击,tbody tr td:eq(3)表示第表格的第四列 注意:eq是从0开始的(jquery),而在:nth-child是从1开始的(css3的选择器) ...
分类:
Web程序 时间:
2018-05-01 20:51:25
阅读次数:
689
product_list=[("Iphohe",5800),("Mac Pro Book",12900), ("xiaomi 4c",1200),("Alex python",120), ("Bike",800)]shopping_list=[]salary=input("input your sa ...
分类:
其他好文 时间:
2018-05-01 15:19:36
阅读次数:
135
题目描述: Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: "Gold Medal" ...
分类:
其他好文 时间:
2018-04-29 22:10:51
阅读次数:
200