css类库

CSS代码
  1. /*初始化样式*/  
  2.   
  3. body{font-family:"宋体"Arial,Verdanasans-serifHelveticafont-size:12pxcolor:#010000;}   
  4. dl,dd,ul{list-style:none;}   
  5. a img{border:0;}   
  6. div,form,img,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6{padding:0;margin:0;border:0;}   
  7. input{ vertical-align:middle;}   
  8. body,html{ height:100%;}   
  9.   
  10. /*字体样式[定义规则,小写f加字体属性]*/    
  11.   
  12. .fU{ text-decoration:underline;}   
  13. .fN{ text-decoration:none;}   
  14. .fB{ font-weight:bold;}   
  15. .f12{ font-size:12px;}   
  16. .f14{ font-size:14px;}   
  17.   
  18. /*公用空隙[定义规则,小写space加空隙高度] */  
  19. .space3{ height:3pxclear:bothfont-size:1px;overflow:hidden;}   
  20. .space5{ height:5pxclear:bothfont-size:1px;overflow:hidden;}   
  21. .space6{ height:6pxclear:bothfont-size:1px;overflow:hidden;}   
  22. .space9{ height:9pxclear:bothfont-size:1px;overflow:hidden;}   
  23. .space10{ height:10pxclear:bothfont-size:1px;overflow:hidden;}   
  24. .space12{ height:12pxclear:bothfont-size:1px;overflow:hidden;}   
  25. .space15{ height:15pxclear:bothfont-size:1px;overflow:hidden;}   
  26.   
  27. /*全局链接颜色 */  
  28. a:link {color:#1f3a87text-decoration:none;}   
  29. a:visited {color:#83006f;text-decoration:none;}   
  30. a:hover {color:#bc2931text-decoration:underline;}   
  31. a:active {color:#bc2931;}   
  32.   
  33.   
  34. /* 字体颜色属性 [定义规则,小写c加颜色名称] */  
  35. .cRed,a.cRed:link,a.cRed:visited{color:#f00;}   
  36. .cBlue,a.cBlue:link,a.cBlue:visited{color:#00c;}   
  37. .cDRed,a.cDRed:link,a.cDRed:visited{color:#bc2931;}   
  38. .cGray,a.cGray:link,a.cGray:visited{color:#4F544D;}   
  39. .cDGray,a.cDGray:link,a.cDGray:visited{color:#666;}   
  40. .cWhite,a.cWhite:link,a.cWhite:visited{color:#fff;}   
  41. .cBlack,a.cBlack:link,a.cBlack:visited{color:#000;}   
  42. .cYellow,a.cYellow:link,a.cYellow:visited{color:#ff0;}   
  43. .cGreen,a.cGreen:link,a.cGreen:visited{color:#008000;}   
  44.   
  45. /* 其他属性 */  
  46. .l{ floatleft;}   
  47. .r{ floatright;}   
  48. .clearclearbothfont-size:1pxwidth:1pxheight:0; visibilityhidden; }   
  49. .hidden{displaynone;}   
  50. .unL,.unL a{text-decorationnone;}   
  51. .unB{border:none;}  
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值