// @Author: vxhly
// @Date:   2017-04-10 03:30:08 pm
// @Email:  pengchengou@gmail.com
// @Filename: _box.scss
// @Last modified by:   vxhly
// @Last modified time: 2017-12-16 03:01:02 pm
// @License: MIT
/**
 * [使盒子模型成为 border-box，在改变 margin 或者 padding 时不改变宽高]
 */

* {
  -webkit-box-sizing: border-box;
  box-sizing        : border-box;

  &::after,
  &::before {
    -webkit-box-sizing: border-box;
    box-sizing        : border-box;
  }
}
/**
 * [重置 hr 样式]
 */

hr {
  box-sizing: content-box;
  height    : 0;
  overflow  : visible;
}
/**
 * [重置 img 样式]
 */

img {
  -webkit-box-sizing: border-box;
  box-sizing        : border-box;
}