1. * {margin: 0; padding: 0;}
    2. * {box-sizing: border-box;}
    3. *::before,
    4. *::after {box-sizing: border-box;}
    5. ul,ol {list-style : none;}
    6. a {
    7. text-decoration: none;
    8. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    9. }
    10. // 取消 a 标签在移动端
    11. // 1.点击时的蓝色
    12. // 2.长按弹出菜单
    13. // 3.禁止文本被选中
    14. // 4.阻止在firefox出现背景色
    15. a,
    16. a:active,
    17. a:hover,
    18. a:visited {
    19. -webkit-tap-highlight-color: transparent;
    20. outline : none;
    21. background : none;
    22. -webkit-user-select: none;
    23. -moz-user-focus: ignore ;
    24. -moz-user-select: none;
    25. -ms-user-select: none;
    26. user-select: none;
    27. // iOS端禁止长按菜单
    28. -webkit-touch-callout: none;
    29. color : inherit;
    30. }