reset.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. @charset "utf-8";
  2. html{color:#000}
  3. body,
  4. div,
  5. dl,
  6. dt,
  7. dd,
  8. ul,
  9. ol,
  10. li,
  11. h1,
  12. h2,
  13. h3,
  14. h4,
  15. h5,
  16. h6,
  17. pre,
  18. code,
  19. form,
  20. fieldset,
  21. legend,
  22. input,
  23. textarea,
  24. p,
  25. blockquote,
  26. th,
  27. td,
  28. span,
  29. a{margin:0;padding:0}
  30. table{border-collapse:collapse;border-spacing:0}
  31. fieldset,
  32. img,
  33. iframe{border:0}
  34. :focus{outline:0}
  35. address,
  36. caption,
  37. cite,
  38. code,
  39. dfn,
  40. em,
  41. strong,
  42. th,
  43. var{font-weight:normal;font-style:normal}
  44. ol,
  45. ul{list-style:none}
  46. li{list-style:none}
  47. caption,
  48. th{text-align:left}
  49. h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}
  50. blockquote:before,
  51. blockquote:after,
  52. q:before,
  53. q:after{content:''}
  54. abbr,
  55. acronym{border:0;font-variant:normal}
  56. /* to preserve line-height and selector appearance */
  57. sup{vertical-align:text-top}
  58. sub{vertical-align:text-bottom}
  59. /*input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit; vertical-align:middle;}*/
  60. /*to enable resizing for IE*/
  61. input,
  62. textarea,
  63. select{*font-size:100%}
  64. /*because legend doesn't inherit in IE */
  65. legend{color:#000}
  66. /*clear float*/
  67. .clearfix{zoom:1}
  68. .clearfix:after{display:block;clear:both;content:'\20'}
  69. .fleft{float:left}
  70. .fright{float:right}
  71. :not(input){
  72. -webkit-user-select:none;
  73. -webkit-tap-highlight-color:rgba(0,0,0,0);
  74. -webkit-touch-callout:none;
  75. -webkit-text-size-adjust:none;
  76. }