(需要自取)清除页面原始样式:reset.css

想要查看前面的笔记请翻阅我的CSDN博客,作者码字不易,喜欢的话点赞,加个关注吧,后期还有很多干货等着你!

/**{*/
  /*box-sizing: border-box;*/
/*}*/
html{
    
    
  position: relative;
  top: 0;
}
html, body, #app {
    
    
  height: 100%;
}

body {
    
    
  font-size: 0
}

body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td {
    
    
  margin: 0;
  padding: 0;
}

/*body, button, input, select, textarea { font:12px/1.5tahoma, arial, \5b8b\4f53; }*/
h1, h2, h3, h4, h5, h6 {
    
    
  font-size: 100%;
}

address, cite, dfn, em, var {
    
    
  font-style: normal;
}

code, kbd, pre, samp {
    
    
  font-family: couriernew, courier, monospace;
}

small {
    
    
  font-size: 0.12rem;
}

ul, ol {
    
    
  list-style: none;
}

a {
    
    
  text-decoration: none;
}

/*a:hover {*/
/*text-decoration: underline;*/
/*}*/
a:hover {
    
    
  text-decoration: none;
}

a:visited {
    
    
}

sup {
    
    
  vertical-align: text-top;
}

sub {
    
    
  vertical-align: text-bottom;
}

legend {
    
    
  color: #000;
}

fieldset, img {
    
    
  border: 0;
}

button, input, select, textarea {
    
    
  font-size: 100%;
}

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

* {
    
    
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  line-height: 1;
}

input[type="date"]::-webkit-clear-button {
    
    
  display: none;
}

input:focus{
    
    
  border: none;
}

猜你喜欢

转载自blog.csdn.net/weixin_42842069/article/details/118761460