css对号实现

2020-12-25172次阅读css

css对号实现

[type=radio]:checked::before {
    content: '';
    position: absolute;
    top: 0; 
    bottom: 0; 
    right: 1rem;
    width: .6125rem; 
    height: .325rem;
    margin: auto;
    border-left: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(-45deg);
}

 

上一篇: post传base64图片‘+’会变成 ‘空格  下一篇: fetch请求结果中文乱码解决方案  

css对号实现相关文章