css的#和.的区别
如:
#home #h3 {
padding-top:0;
padding-bottom:0;
}
.pop #h2, .pop #h3 {
position:static;
background:none;
border-width:0;
width:auto;
}
其中#和.的区别是什么
 
2009-03-04 14:58
#群雄争霸,团队需要你!#
提问者采纳
 
用 # 定义的css 要用 > 这个div用 .pop #h3 样式</div>
</div>

.pop #h2   和 .pop #h3 是一样的
 
css的#和.的区别
如:
#home #h3 {
padding-top:0;
padding-bottom:0;
}
.pop #h2, .pop #h3 {
position:static;
background:none;
border-width:0;
width:auto;
}
其中#和.的区别是什么
 
2009-03-04 14:58
#群雄争霸,团队需要你!#
提问者采纳
 
用 # 定义的css 要用 > 这个div用 .pop #h3 样式</div>
</div>

.pop #h2   和 .pop #h3 是一样的

相关文章:

  • 2021-08-09
  • 2021-11-17
  • 2021-11-28
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案