reset.css 821 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * 在 normalize.css 基础上进行的其他重置
  3. */
  4. * {
  5. box-sizing: border-box;
  6. }
  7. html, body {
  8. width: 100%;
  9. height: 100%;
  10. font-size: 14px;
  11. }
  12. html {
  13. /* AntD 字体家族:https://ant.design/docs/spec/font-cn#%E5%AD%97%E4%BD%93%E5%AE%B6%E6%97%8F */
  14. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
  15. 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
  16. 'Noto Color Emoji';
  17. }
  18. a{
  19. color: #333;
  20. }
  21. p {
  22. margin: 0;
  23. padding: 0;
  24. }
  25. input, button {
  26. border: none; /* 去掉浏览器默认的 input 边框样式 */
  27. outline: none; /* 去掉浏览器默认的聚焦时候的蓝色边框 */
  28. }
  29. a {
  30. text-decoration: none;
  31. }
  32. ul{
  33. list-style: none;
  34. margin: 0;
  35. padding: 0;
  36. }
  37. h1,h2,h3,h4,h5,h6{
  38. margin:0;
  39. padding:0
  40. }