修改checkBox样式

1、效果图

2、代码

//HTML代码

<div class="speech-bubble speech-bubble-bottom"><span>选择后原设置短信接手号码将替代为当前号码。</span></div>
/CSS代码

.speech-bubble {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 59%;
  left: 15%;
  background-color: #fff;
  width: 292px;
  height: 54px;
  color: rgba(255,255,255,0.01);
  text-align: center;
  border-radius: 10px;
  font-family: sans-serif;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
}
.speech-bubble span {
  text-align: center;
  font-family: PingFangSC;
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.33;
  letter-spacing: 1px;
  color: #191919;
}

.speech-bubble:after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 15px solid;
}
.speech-bubble-bottom:after {
  border-top-color: #fff;
  top: 100%;
  left: 50%;
  margin-left: -15px;
}
相关文章
相关标签/搜索