body {
  -webkit-font-smoothing: antialiased;
}
.margin {
  margin: 0 auto;
}
.left {
  float: left;
}
.right {
  float: right;
}
.hide {
  display: none;
}
.show {
  display: block;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background-color: #F5F5F5;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0);
  border-radius: 10px;
  background-color: #F5F5F5;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #555;
}

// ---------------------------------------------------------------------

body {
  width: 100vw;
  overflow-x: hidden;
}
#app {
  width: 100vw;
}
iframe {
  border: none;
}
.my-template {
  width: 100vw;
  min-height: 100vh;
  box-sizing: border-box;
}
.bg-contain {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}
.bg-cover {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
@keyframes common-scale {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}