css3

rest.css

html,
body {
  font-family: 'Microsoft YaHei', '微软雅黑 Regular', 'PingFang SC',
    'Source Sans Pro', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 16px;
  box-sizing: border-box;
}

html,
body,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img {
  border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul,
li,
a {
  list-style: none;
  text-decoration: none;
}

capation,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: #000000;
}

a:hover {
  text-decoration: none;
}

a:focus {
  border: none;
  outline: none;
}

img {
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  vertical-align: middle;
}

button {
  border: none;
  cursor: pointer;
}

/* /_去掉手机点击时候的灰色背景_/  */
button,
input,
select,
option {
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input:focus {
  border: none;
  background: none;
}

textarea:focus {
  outline: none;
}

/* /_去掉移动版 Safari 的点击阴影_/  */
textarea,
input {
  appearance: none;
  -webkit-appearance: none;
}

input[type='text'],
input[type='radio'] {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* /_去除伪元素 a 类下点击是的灰色背景,根据设计需要是否加_/ */
a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-appearance: none;
}
上次更新: