1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- * {
- /* 阻止safari在用户交互设置一些元素的背景色 */
- -webkit-tap-highlight-color: transparent;
- box-sizing: border-box;
- }
- html {
- overflow: hidden;
- touch-action: none;
- scroll-behavior: smooth; /* MDN: When this property is specified on the root element, it applies to the viewport instead. This property specified on the body element will not propagate to the viewport.(???) */
- height: 100%;
- }
- body {
- text-align: justify;
- height: 100%;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- a {
- color: initial;
- text-decoration: initial;
- outline: none;
- }
- button {
- padding: 0;
- cursor: pointer;
- background-color: initial;
- border: initial;
- outline: none;
- white-space: pre;
- }
- img {
- user-select: none;
- }
- menu {
- list-style-type: initial;
- }
- li {
- display: initial;
- }
- input {
- outline: initial;
- background: initial;
- border: initial;
- border-radius: initial;
- width: initial;
- height: initial;
- }
- td {
- vertical-align: inherit;
- }
|