跟老師三角形代碼一樣的,為什么顯示不出來? 感謝大神解答!如下:
.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; }
2019-08-05
這部分代碼沒什么問題。注意一下中英文符號,看看是不是其他部分代碼出現(xiàn)問題了。