reset.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. html, body, div, span,object, iframe,input,button,select,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,strong,var,b,i,
  2. dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details,figure, figcaption, footer, header, hgroup,
  3. menu, nav, output,section, summary,time, mark, textarea, audio, video ,hr{
  4. margin: 0;
  5. padding: 0;
  6. border: 0;
  7. font-size: 100%;
  8. font: inherit;
  9. vertical-align: baseline;
  10. outline: none;
  11. }
  12. /* HTML5 display-role reset for older browsers */
  13. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  14. display: block;
  15. }
  16. hr,input,button,textarea{
  17. border: none;
  18. }
  19. input, select{
  20. vertical-align:middle;
  21. }
  22. li{
  23. list-style:none;
  24. }
  25. img{
  26. border:0;
  27. outline: 0;
  28. vertical-align:middle;
  29. }
  30. button{
  31. cursor:pointer;
  32. }
  33. a{
  34. color:#666;
  35. text-decoration:none;
  36. }
  37. textarea{
  38. resize: none;
  39. }
  40. ::-ms-clear{
  41. display:none;
  42. }
  43. .clearfix::after {
  44. content: '';
  45. display: block;
  46. height: 0;
  47. clear: both;
  48. }
  49. .clearfix {
  50. zoom: 1;
  51. }
  52. .fl {
  53. float: left;
  54. }
  55. .fr {
  56. float: right;
  57. }
  58. input:-webkit-autofill {
  59. -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  60. outline:none;
  61. }