reset.scss

/* reset.scss */

h1, h2, h3, h4, h5, h6 {
  position: relative;
  display: flex;
  margin: 0;
  padding: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.6rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 2rem; }
h5 { font-size: 1.8rem; }
h6 { font-size: 1.6rem; }

section, div, p, address, article, aside, blockquote,
header, footer, main, summary, nav, dl, ul, ol {
  position: relative;
  display: flex;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}
dl { flex-direction: column; }
dd {
  position: relative;
  display: inline-flex;
  margin: 0;
  margin-inline-start: 2rem;
}
ul, ol {
  flex-direction: column;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding-inline-start: 4rem;
}
li {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}
address { font-style: normal; }
p {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

strong, b, mark, a, del, i, em, pre, code, samp,
label, span, small, time, u, s, var {
  position: relative;
  display: inline-flex;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}
strong, b { font-weight: 500; }
mark {
  color: inherit;
  background-color: transparent;
}
a, del, u, s { text-decoration: none; }
i, em { font-style: normal; }
small { font-size: 1.2rem; }
posted @ 2023-01-29 14:19  王双-50  阅读(139)  评论(0)    收藏  举报