/* 引入字体 */ @font-face { font-family: 'PingFangSC'; src: url('PingFangSC-Semibold.otf'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Fzcs-Gbk'; src: url('Fzcs-Gbk.ttf'); font-weight: normal; font-style: normal; } *{ margin: 0; padding: 0; box-sizing: border-box; } html, body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-family: Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif; background-color: #FFFFFF; margin: 0px; padding: 0px; color: #333333; } ul, li { list-style: none; } img { border: 0; vertical-align: middle; display: block; object-fit: cover; } a{ display: block; color: #333333; text-decoration: none; /* 手机端去除a标签点击时的背景样式 */ -webkit-tap-highlight-color: transparent; } em, ins{ font-style: normal; } img, a { -webkit-touch-callout: none; } input, button, textarea{ /* 取消轮廓 */ outline: none; /* 去掉默认外观 */ -webkit-appearance: none; /* 去掉点击时的默认外观 */ outline-style: none; border: 0 none; border-radius: 0; } textarea { /* 禁止自定义拉伸 */ resize: none; } /* 公共css */ .content{ width: 100%; min-height: 100%; } .main-content{ margin-bottom: 1.5rem; } .main{ margin-top: 1rem; }