CSS/box-sizing
来自康健生活
< CSS
引言
继承
html, body{
margin: 0;
padding: 0;
height: 100%;
box-sizing: border-box;
/* \5b8b\4f53 宋体 */
font:12px/1.5 "Noto Sans", Noto-s-r, \5b8b\4f53, sans-serif !important;
font-weight: 400;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: transparent;
-webkit-text-size-adjust: 100%;
/* background: rgb(246,250,255); */
background: blue;
color: #333333;
}
*,
*:before,
*:after {
margin: 0;
padding:0;
/* 继承 box-sizing */
box-sizing: inherit;
}
No categories