baseindex.css 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* 重置内外边距 */
  2. body, div, blockquote,
  3. h1, h2, h3, h4, h5, h6, hr, p,
  4. dl, dt, dd, ul, ol, li,
  5. form, button, input, textarea,
  6. pre, fieldset, legend, th, td {
  7. margin: 0;
  8. padding: 0;
  9. }
  10. /* 设置默认文字样式 */
  11. body, input, select, textarea, button {
  12. font: normal 100% -apple-system, PingFangSC-Regular, tahoma, arial, sans-serif;
  13. }
  14. /* 清除移动端按钮点击出现黑色背景 */
  15. input, a {
  16. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  17. }
  18. /* 清除输入标签选中效果 */
  19. input, select, textarea, button {
  20. outline: none;
  21. appearance: none;
  22. -webkit-appearance: none;
  23. -moz-appearance: none;
  24. }
  25. /* 清除序列标签默认样式 */
  26. ul, li, dl, dd, dt {
  27. list-style-type: none;
  28. }
  29. /* 清除a标签下划线样式 */
  30. a, a:link, a:visited, a:hover, a:active {
  31. text-decoration: none;
  32. }
  33. /* 清除图片的边框 */
  34. img {
  35. border: 0;
  36. }
  37. /* 清除浮动 */
  38. .clear {
  39. clear: both;
  40. }
  41. /*定义标题文字加粗正常,字间距为0*/
  42. h1, h2, h3, h4, h5, h6, p {
  43. font-weight: normal;
  44. letter-spacing: 0;
  45. }