antd-mobile
Version:
基于 React 的移动设计规范实现
58 lines (57 loc) • 996 B
CSS
.hairline-remove-right-bottom {
border-bottom: 0;
}
.hairline-remove-right-bottom:after {
display: none;
}
.hairline-remove-right-bottom-bak:after {
display: none;
}
.hairline-remove-left-top:before {
display: none;
}
.am-tag {
display: inline-block;
position: relative;
font-size: 28px;
text-align: center;
padding: 0 30px;
height: 50px;
line-height: 50px;
border-radius: 6px;
box-sizing: border-box;
}
.am-tag.am-tag-small {
height: 30px;
line-height: 30px;
padding: 0 10px;
font-size: 20px;
}
.am-tag-normal {
background-color: #fff;
color: #888;
border: 1PX solid #ddd;
}
.am-tag-active {
background-color: #fff;
color: #108ee9;
border: 1PX solid #108ee9;
}
.am-tag-disabled {
color: #bbb;
background-color: #ddd;
border: 1PX solid #ddd;
}
.am-tag-close {
position: absolute;
top: -18px;
left: -20px;
color: #bbb;
}
.am-tag-close:active {
color: #888;
}
.am-tag-close .am-icon {
background-color: #fff;
border-radius: 18px;
}