金桥笔记之选择器

JQJQ

金桥:/CSSAjax

一、1

.class $ (" . class)

元素$(“元素”)

# id ,,,$ (" # id ")

Selector1, selectorN $ (" Selector1 selectorN”)

2,,,,,,parent>孩子$ (“parent>孩子”)

,,,,,,E>铁F E> F

,,,,,,prev + nextprevnext

prev ~兄弟姐妹prevsiblings

3

,,,,,,:动画

,,,,,,:情商(指数)指数(index0)

,,,,,,:even0

,,,,,,:odd0

,,,,,,:首先

,,,,,,:gtindexindex0

,,,,,,:ltindexindex

,,,,,,:标题

,,,,,,朗:$ (" div:朗(en)”) & lt; div lang=癳n”祝辞& lt; div lang=癳n - us”在

,,,,,,:去年

,,,,,,:没有(选择)

,,,,,,:rootHTML

,,,,,,4:targetURI

,,,,,,:包含(文本)文本

,,,,,,:空()

,,,,,,:有()$ (" div: (p) ") & lt; div>, & lt; p> & lt; div>

:有()JQCSS:有()DOMquerySelectorAll ()

,,,,,,5:父母

,,,,,,:隐藏$ (" div:隐藏”)

,,,,,,:可见

CSS displaynone

type='隐藏'

0

可见性:hiddenopacity: 6 0

,,,,,,(属性|=值)

,,,,,,(arrribute *=价值)

,,,,,,(属性~=值)

,,,,,,(属性=美元值)

,,,,,,(属性=值)

,,,,,,(属性!=价值):没有([attr=价值])

[^=属性值]

[属性]

(,][,),,7

,,,,,,第一个孩子:nth-child (1)

:胎

,,,,,,:first-of-type

,,,,,,:最后一个类型的

,,,,,,:nth-child n (n)

,,,,,,:nth-last-child n (n)

,,,,,,:nth-last-of-type n (n)

,,,,,,:nth-of-typen

,,,,,,:独生子女

,,,,,,8:nth-of-type

,,,,,,:按钮

,,,,,,:复选框

,,,,,,:检查

,,,,,,:禁用

,,,,,,:启用

,,,,,,:关注

,,,,,,:filefile

,,,,,,:p_w_picpath

,,,,,,:inputinputtextarea选择按钮

,,,,,,:密码

,,,,,,:无线电

,,,,,,:重置(type='复位']

,,,,,,:selectselect

,,,,,,:提交

,,,,,,:文本


金桥笔记之选择器