在a:after 之后的css效果顯示不出來是什么原因?瀏覽器的原因嗎?
.st-container input:checked + a:after{
?? ?content:"";
?? ?width:0;
?? ?height:0;
?? ?overflow: hidden;
?? ?border:20px solid transparent;
?? ?border-bottom-color:#821134;
?? ?position: absolute;
?? ?bottom: 100%
?? ?left:50%;
?? ?margin-left: -20px;
}
<div class="st-container">
?? ??? ??? ?<input type="radio" name="radio-set" checked="checked" id="st-control-1">
?? ??? ??? ?<a href="#st-panel-1">Serendipity</a>
?? ??? ????
2018-11-23
試一試 chrome瀏覽器呢