用下面的格式添加菜单:
<i class=”bi bi-arrow-repeat spin”></i> 更新日志<t style=”width:42px;background:#8A2BE2″>new</t>
然后在自定义css里面添加下面代码
.spin {
display: inline-block;
animation: spin 2s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
回答1