1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- /* 重置内外边距 */
- body, div, blockquote,
- h1, h2, h3, h4, h5, h6, hr, p,
- dl, dt, dd, ul, ol, li,
- form, button, input, textarea,
- pre, fieldset, legend, th, td {
- margin: 0;
- padding: 0;
- }
- /* 设置默认文字样式 */
- body, input, select, textarea, button {
- font: normal 100% -apple-system, PingFangSC-Regular, tahoma, arial, sans-serif;
- }
- /* 清除移动端按钮点击出现黑色背景 */
- input, a {
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- -webkit-appearance: none;
- appearance: none;
- }
- /* 清除输入标签选中效果 */
- input, select, textarea, button {
- outline: none;
- }
- /* 清除序列标签默认样式 */
- ul, li, dl, dd, dt {
- list-style-type: none;
- }
- /* 清除a标签下划线样式 */
- a, a:link, a:visited, a:hover, a:active {
- text-decoration: none;
- }
- /* 清除图片的边框 */
- img {
- border: 0;
- width: 100%;
- display: block;
- }
- /* 清除浮动 */
- .clear {
- clear: both;
- }
- /*定义标题文字加粗正常,字间距为0*/
- h1, h2, h3, h4, h5, h6, p {
- font-weight: normal;
- letter-spacing: 0;
- }
|