Vue —— 全局样式设置

div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
body,
form,
fieldset,
input,
textarea,
blockquote,
p {
  padding: 0;
  margin: 0;
}
textarea {
  padding: 5px 11px;
  border: 1px solid #ccc;
}
textarea::placeholder {
  color: #ccc;
}
a {
  color: #000;
  text-decoration: none;
}
li {
  list-style-type: none;
}
img {
  vertical-align: top;
  border: 0;
}
ol,
ul {
  list-style: none;
}

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

th,
td {
  padding: 0px;
}

@font-face {
  font-family: "iconfont"; /* project id 858289 */
  src: url("//at.alicdn.com/t/font_858289_7bslo0mmlzb.woff") format("woff");
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}

转载于:https://www.cnblogs.com/cnloop/p/9983043.html

你可能感兴趣的:(Vue —— 全局样式设置)