生活随笔
收集整理的这篇文章主要介绍了
重置样式表--HTML
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
重置样式表
- 这就是一个简单的我自己使用的重置样式表
- 里面的话 大多数的重置是都有啦的
- 大家没有的可以收藏起来 拿去用
html{font-size:14px
;box-sizing: border-box
;}html,body{-webkit-tap-highlight-color: rgba(0, 0, 0, 0
);-webkit-overflow-scrolling: touch
;overflow-scrolling: touch
;height: 100%
;}body{background: #fff
;font:14px,-apple-system,BlinkMacSystemFont,
'Segoe UI',
'PingFang SC',
'Hiragino Sans GB',
'Microsoft YaHei',
'Helvetica Neue',Helvetica,Arial,sans-serif,
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol'-webkit-font-smoothing: antialiased
;-moz-osx-font-smoothing: grayscale
;}body,p,h1,h2,h3,h4,h5,h6,dl,dd,ul,ol,th,td,button,figure,input,textarea,form,pre,blockquote,figure{margin: 0
;padding: 0
;}a{cursor: pointer
;text-decoration:none
;transition: color 0.3s ease
;}ol,ul{list-style:none
}a,h1,h2,h3,h4,h5,h6,input,select,button,textarea {font-family: inherit
;font-size: inherit
;font-weight: inherit
;font-style: inherit
;line-height: inherit
;color: inherit
;outline: none
;}button,input[type='submit'],input[type='button'] {cursor: pointer
;}input[type='number'] {-moz-appearance: textfield
;}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button {margin: 0
;-webkit-appearance: none
;}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner {border-style: none
;padding: 0
;}[hidden] {display: none
;}template {display: none
;}input,textarea,button,select{border:none
;}input:focus,textarea:focus,button:focus,select:focus{outline: none
;}
总结
以上是生活随笔为你收集整理的重置样式表--HTML的全部内容,希望文章能够帮你解决所遇到的问题。
如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。