reset.css
1 [class^=ant-]::-ms-clear, 2 [class*= ant-]::-ms-clear, 3 [class^=ant-] input::-ms-clear, 4 [class*= ant-] input::-ms-clear, 5 [class^=ant-] input::-ms-reveal, 6 [class*= ant-] input::-ms-reveal { 7 display: none; 8 } 9 html, 10 body { 11 width: 100%; 12 height: 100%; 13 } 14 input::-ms-clear, 15 input::-ms-reveal { 16 display: none; 17 } 18 *, 19 *::before, 20 *::after { 21 box-sizing: border-box; 22 } 23 html { 24 font-family: sans-serif; 25 line-height: 1.15; 26 -webkit-text-size-adjust: 100%; 27 -ms-text-size-adjust: 100%; 28 -ms-overflow-style: scrollbar; 29 -webkit-tap-highlight-color: rgba(0, 0, 0, 0); 30 } 31 @-ms-viewport { 32 width: device-width; 33 } 34 body { 35 margin: 0; 36 color: rgba(0, 0, 0, 0.85); 37 font-size: 13px; 38 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; 39 font-variant: tabular-nums; 40 line-height: 18px; 41 font-weight: 400; 42 box-shadow: none; 43 background-color: #fff; 44 font-feature-settings: 'tnum'; 45 } 46 [tabindex='-1']:focus { 47 outline: none !important; 48 } 49 hr { 50 box-sizing: content-box; 51 height: 0; 52 overflow: visible; 53 } 54 h1, 55 h2, 56 h3, 57 h4, 58 h5, 59 h6 { 60 margin-top: 0; 61 margin-bottom: 0.5em; 62 font-weight: 500; 63 } 64 p { 65 margin-top: 0; 66 margin-bottom: 1em; 67 } 68 abbr[title], 69 abbr[data-original-title] { 70 text-decoration: underline; 71 -webkit-text-decoration: underline dotted; 72 text-decoration: underline dotted; 73 border-bottom: 0; 74 cursor: help; 75 } 76 address { 77 margin-bottom: 1em; 78 font-style: normal; 79 line-height: inherit; 80 } 81 input[type='text'], 82 input[type='password'], 83 input[type='number'], 84 textarea { 85 -webkit-appearance: none; 86 } 87 ol, 88 ul, 89 dl { 90 margin-top: 0; 91 margin-bottom: 1em; 92 } 93 ol ol, 94 ul ul, 95 ol ul, 96 ul ol { 97 margin-bottom: 0; 98 } 99 dt { 100 font-weight: 500; 101 } 102 dd { 103 margin-bottom: 0.5em; 104 margin-left: 0; 105 } 106 blockquote { 107 margin: 0 0 1em; 108 } 109 dfn { 110 font-style: italic; 111 } 112 b, 113 strong { 114 font-weight: bolder; 115 } 116 small { 117 font-size: 80%; 118 } 119 sub, 120 sup { 121 position: relative; 122 font-size: 75%; 123 line-height: 0; 124 vertical-align: baseline; 125 } 126 sub { 127 bottom: -0.25em; 128 } 129 sup { 130 top: -0.5em; 131 } 132 a { 133 color: #1890ff; 134 text-decoration: none; 135 background-color: transparent; 136 outline: none; 137 cursor: pointer; 138 transition: color 0.3s; 139 -webkit-text-decoration-skip: objects; 140 } 141 a:hover { 142 color: #40a9ff; 143 } 144 a:active { 145 color: #096dd9; 146 } 147 a:active, 148 a:hover { 149 text-decoration: none; 150 outline: 0; 151 } 152 a:focus { 153 text-decoration: none; 154 outline: 0; 155 } 156 a[disabled] { 157 color: rgba(0, 0, 0, 0.25); 158 cursor: not-allowed; 159 } 160 pre, 161 code, 162 kbd, 163 samp { 164 font-size: 1em; 165 font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; 166 } 167 pre { 168 margin-top: 0; 169 margin-bottom: 1em; 170 overflow: auto; 171 } 172 figure { 173 margin: 0 0 1em; 174 } 175 img { 176 vertical-align: middle; 177 border-style: none; 178 } 179 svg:not(:root) { 180 overflow: hidden; 181 } 182 a, 183 area, 184 button, 185 [role='button'], 186 input:not([type='range']), 187 label, 188 select, 189 summary, 190 textarea { 191 touch-action: manipulation; 192 } 193 table { 194 border-collapse: collapse; 195 } 196 caption { 197 padding-top: 0.75em; 198 padding-bottom: 0.3em; 199 color: rgba(0, 0, 0, 0.45); 200 text-align: left; 201 caption-side: bottom; 202 } 203 input, 204 button, 205 select, 206 optgroup, 207 textarea { 208 margin: 0; 209 color: inherit; 210 font-size: inherit; 211 font-family: inherit; 212 line-height: inherit; 213 } 214 button, 215 input { 216 overflow: visible; 217 } 218 button, 219 select { 220 text-transform: none; 221 } 222 button, 223 html [type="button"], 224 [type="reset"], 225 [type="submit"] { 226 -webkit-appearance: button; 227 } 228 button::-moz-focus-inner, 229 [type='button']::-moz-focus-inner, 230 [type='reset']::-moz-focus-inner, 231 [type='submit']::-moz-focus-inner { 232 padding: 0; 233 border-style: none; 234 } 235 input[type='radio'], 236 input[type='checkbox'] { 237 box-sizing: border-box; 238 padding: 0; 239 } 240 input[type='date'], 241 input[type='time'], 242 input[type='datetime-local'], 243 input[type='month'] { 244 -webkit-appearance: listbox; 245 } 246 textarea { 247 overflow: auto; 248 resize: vertical; 249 } 250 fieldset { 251 min-width: 0; 252 margin: 0; 253 padding: 0; 254 border: 0; 255 } 256 legend { 257 display: block; 258 width: 100%; 259 max-width: 100%; 260 margin-bottom: 0.5em; 261 padding: 0; 262 color: inherit; 263 font-size: 1.5em; 264 line-height: inherit; 265 white-space: normal; 266 } 267 progress { 268 vertical-align: baseline; 269 } 270 [type='number']::-webkit-inner-spin-button, 271 [type='number']::-webkit-outer-spin-button { 272 height: auto; 273 } 274 [type='search'] { 275 outline-offset: -2px; 276 -webkit-appearance: none; 277 } 278 [type='search']::-webkit-search-cancel-button, 279 [type='search']::-webkit-search-decoration { 280 -webkit-appearance: none; 281 } 282 ::-webkit-file-upload-button { 283 font: inherit; 284 -webkit-appearance: button; 285 } 286 output { 287 display: inline-block; 288 } 289 summary { 290 display: list-item; 291 } 292 template { 293 display: none; 294 } 295 [hidden] { 296 display: none !important; 297 } 298 mark { 299 padding: 0.2em; 300 background-color: #feffe6; 301 } 302 ::-moz-selection { 303 color: #fff; 304 background: #1890ff; 305 } 306 ::selection { 307 color: #fff; 308 background: #1890ff; 309 } 310 .clearfix::before { 311 display: table; 312 content: ''; 313 } 314 .clearfix::after { 315 display: table; 316 clear: both; 317 content: ''; 318 }