base.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /* CSS Document */
  2. html, body, div, span, object, iframe,h1, h2,
  3. h3, h4, h5, h6, p, blockquote, pre,abbr, address, cite, code,del, dfn,
  4. em, img, ins,kbd, q, samp,small, strong, sub, sup, var,b, i,dl, dt, dd,
  5. ol, ul, li,fieldset, form, label, legend,table, caption, tbody,
  6. tfoot,thead,tr, th, td,article, aside, canvas, details, figcaption,
  7. figure, footer, header, hgroup, menu, nav, section, summary,time, mark,
  8. audio, video {
  9. margin:0;
  10. padding:0;
  11. border:0;
  12. font-size: 14px;
  13. box-sizing: border-box;
  14. outline:0;
  15. vertical-align:baseline;
  16. background:transparent;
  17. outline-style:none;/*FF*/
  18. }
  19. body {
  20. line-height:1;
  21. }
  22. a{
  23. margin:0;
  24. padding:0;
  25. border:0;
  26. font-size: 14px;
  27. vertical-align:baseline;
  28. background:transparent;
  29. }
  30. a:hover,a:focus{
  31. text-decoration:none;
  32. outline-style:none;/*FF*/
  33. }
  34. table {
  35. border-collapse:collapse;
  36. border-spacing:0;
  37. }
  38. input, select {
  39. vertical-align:middle;
  40. }
  41. /*css为clearfix,清除浮动*/
  42. .clearfix::before,
  43. .clearfix::after{
  44. content: "";
  45. height: 0;
  46. line-height: 0;
  47. display: block;
  48. visibility: hidden;
  49. clear: both;
  50. }
  51. .clearfix:after{clear:both;}
  52. .clearfix{
  53. *zoom:1;/*IE/7/6*/
  54. }
  55. .conntent{
  56. width: 1146px;
  57. margin: 0 auto;
  58. }