0
나는 다음과 같은 CSS :after
CSS의 제거는
<div class="bob"></div>
.bob:after{
background:#ff0000;
height:10px;
width:10px;
}
를 그냥 두 번째 클래스를 사용 후 그것을 제거 할 수 있다고 가정 해?
<div class="bob geff"></div>
.bob:after{
background:#ff0000;
height:10px;
width:10px;
}
.bob.geff:after{
background:none;
height:0px;
width:0px;
}
좋은 답변은 제 답변보다 훨씬 포괄적입니다. – Nenotlep