比如我希望动态控制下面的 rotate
&:after {
content: '';
width: 100%;
height: 100%;
position: absolute;
transform: rotate(30deg);
border-radius: 50%;
}
伪元素不是真的元素,不能通过dom获取到,所以不能操作,像1l说的,多写几个类名,或者用别的标签替换掉伪元素