һ
 ע

QQ¼

ֻһٿʼ

ƼĶ

+

[CSS] 12֪ css ʵ롿

[]
 ¥| happy175 2015-9-13 16:49:21
| ʾȫ¥
11F

10ʹʽѡȡԪбԪصķΧ

       Ҳ֪˭õģҵһGunnar Bittersmann demo пġ˵һ20Ԫصбѡ714Ԫءʹһѡʵ֣


ol li:nth-child(n+7):nth-child(-n+14) {
background: lightpink;
}


£ָSafariвЧ˵ǣMatt Pomaski һֻ轫ѡе˳һ£ol li:nth-child(-n+14):nth-child(n+7)WebkitʶдջǿSafariС
      ʹʽṹαʽȻʽе⣬ͨʽеֿҪѡеķΧ
     ϸؽԭʽṹĵһ֣ʽΪѡе߸ԪؼԪءڶֵ˼ǡѡȡʮĸԪؼǰԪ ءһģÿһǰһķΧʽṹĵڶֲһֳʮĸԪأȻһֲڶѡȡ ߸Ԫ֮ǰԪء
     һ˽͵ѡͱʽĶǰ

Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
 ¥| happy175 2015-9-13 16:51:18
| ʾȫ¥
12F

11αԪҲһЩԪ

     һԹαԪظӵһͼƬ߱inputǩϡᷢЧΪαԪڷDZպԪЧܶ࿪߶ΪԪأûбպϱǩԪأġⲢȷ
     ԽһЩαԪظӵһЩ滻Ԫϡhr Ԫأ±ߵӣ



ɫһˮƽߣhr Ԫأ::before ::after αԪظԪϡȤǣһͬDz滻ĿԪbr ϣȴ޷ʵͬЧ
     񵽰metaǩ link ԪΪdisplay: block ҲԸmetaǩ link Ԫظα࣬±ʾ



     ɫһˮƽߣhr Ԫأ::before ::after αԪظԪϡȤǣһͬDz滻ĿԪbr ϣȴ޷ʵͬЧ
     񵽰metaǩ link ԪΪdisplay: block ҲԸmetaǩ link Ԫظα࣬±ʾ
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
 ¥| happy175 2015-9-13 16:52:47
| ʾȫ¥
13F

12ЩֵѡDzִСд


    һ۵ĵ㣬ͨ±ߵHTML


<div class="box"></div>
<input type="email">
ͨѡʽ


div[class="box"] {
color: blue;
}

input[type="email"] {
border: solid 1px red;
}

ûģ±أ

div[class="BOX"] {
color: blue;
}

input[type="EMAIL"] {
border: solid 1px red;
}
ֵǴдġʾУΪclass ִСдģ .box ԪصʽЧһemailıǩȴtype ִֵСдʽЧⲢʲôشֻ֣һЩ֮ǰû⵽ġ

 

ܽ

       ϣô˽ˡ
     оÿܶѧһЩһ޶CSSСɣҲϣЩԴ˵ȫµ֪ʶɬCSSϻϲĸǷһЩԻΪ㲻ر˽⵫Ǿкܺõֵ֧ģи֪ǡ


Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2017-1-14 00:13:05
| ʾȫ¥
14F
治һŬ
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2017-1-14 14:07:13
| ʾȫ¥
15F
dzŶԲ
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2017-2-12 15:53:48
| ʾȫ¥
17F
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2017-2-14 19:42:33
| ʾȫ¥
18F
~~~ٺ~~
ױѵѧУ http://www.xszsz.com/
㿪ʼѧױ http://www.xszsz.com/
ϺױѧУ http://www.xszsz.com/
ϲݻױѧУ http://www.xszsz.com/
ϲѧУ http://www.xszsz.com/
ϲױ仯ױѧУ http://www.xszsz.com/
ϲЩױѧУ http://www.xszsz.com/
ϲױ仯ױѵѧУ http://www.xszsz.com/
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
pkyxm 2017-11-22 21:06:03
| ʾȫ¥
19F
˵IJֻԵ붼׬Ǯ  www.cp369369.com
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
12
б

ֹ

²

̳¡ͼƬѷϴվԭתԻ,µİȨԭ
վַİȨ֪ͨǵĹԱ,Ա(Email:admin@websjy.com)ʱȡȨɾ
ܾκκʽڱ̳л񹲺͹ִ!

QQ| 42011102000510|Archiver|ֻ|Դ ( ICP14013341-1

GMT+8, 2018-1-18 01:44

Powered by Discuz! X3.2

ԴԴվ  ԴAPPӦ֮

ٻظ ض б