我有一個包裝在bootstrap 3手風琴中的面板的工作解決方案。如何在切換引導程序3面板時動畫雪佛龍圖形?
如何在90度旋轉的情況下將V形狀態的變化從「>」變爲「^」?
.panel-heading .accordion-toggle:after {
font-family: 'Glyphicons Halflings';
content: "\e114";
float: right;
color: grey;
}
.panel-heading .accordion-toggle.collapsed:after {
content: "\e080";
}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#importationCollapse">Importation</a>
</h3>
</div>
<div id="importationCollapse" class="panel-collapse collapse in">
<div class="panel-body">
<p>Content: blahblah</p>
</div>
</div>
</div>
</div>
[編輯] 我找一個平穩的旋轉,我已經如何改變字形狀態。
正是我所期待的,謝謝! – Ehouarn