css实现比较细的边框

论坛 期权论坛 脚本     
匿名技术用户   2020-12-30 04:09   571   0

代码实现

.moneytit{
  line-height: 120rpx;
  padding: 0 30rpx;
  position: relative;
  height: 120rpx;
  font-size: 14pt;
  color:#1b1b1b;
  display: flex;
  align-items: center
}
.moneytit:after{
  content: ''; 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  border-bottom: 1px solid #edf0f3; 
  -webkit-box-sizing: border-box; 
  box-sizing: border-box; 
  width: 200%; height: 0%; 
  -webkit-transform: scale(0.5); 
  transform: scale(0.5); 
  -webkit-transform-origin: left top; transform-origin: left top; 
}

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP