checkbox:

.checkbox {
  display: inline-block;
  cursor: pointer;
  input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    display: none
  }
  input[type="checkbox"]+.box-span {
    position: relative;
    top: 7px;
    width: 24px;
    height: 24px;
    display: inline-block;
    background: url("../resource/images/radio/normal.png") no-repeat;
    background-position: 0 0;
  }
  input[type="checkbox"]:checked+.box-span {
    background: url("../resource/images/radio/click.png") no-repeat;
  }
}
 
隐藏滚动条:
.outer-content {
  height: 100%;
  width: 194px;
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden
}

.inner-content {
  height: 100%;
  width: 177px;
  overflow-y: scroll;
  padding: 0 17px;
}

相关文章:

  • 2021-11-23
  • 2021-11-09
  • 2018-02-23
  • 2021-09-05
  • 2021-12-23
  • 2022-02-03
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-01
  • 2022-02-05
  • 2021-08-12
  • 2022-01-08
  • 2022-12-23
相关资源
相似解决方案