/* 宽高 */
.h-full {
  height: 100vh;
}

.w-full {
  width: 100vw;
}

.h-50 {
  height: 50%;
}

.h-100 {
  height: 100%;
}

.w-100 {
  width: 100%;
}

.w-50 {
  width: 50%;
}

/* 弹性布局 */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.items-center {
  align-items: center;
}

.flex-1 {
  flex: 1;
}

.shrink-0 {
  flex-shrink: 0;
}

.row-reserve {
  flex-direction: row-reverse;
}

.grid {
  display: grid;
}

.col-4 {
  grid-template-columns: repeat(4, 1fr);
}

.col-2 {
  grid-template-columns: repeat(2, 1fr);
}

.col-6 {
  grid-template-columns: repeat(6, 1fr);
}

/* 文字 */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-bold {
  font-weight: bold;
}

.float-left {
  float: left;
}

/* 处理 */
.box-border {
  box-sizing: border-box;
}

.ml-10 {
  margin-left: 10px;
}

.mr-10 {
  margin-right: 10px;
}

.mt-10 {
  margin-top: 1rem;
}

.mt-20 {
  margin-top: 2rem;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

/* 手势 */
.cursor-pointer {
  cursor: pointer;
}

/* 裁切 */
.o-f-c {
  object-fit: cover;
}

.o-p-c {
  object-position: center;
}

.bg-white {
  background-color: #fff;
}
