.chevron { transition: 300ms linear rotate; } .active > .chevron { transform: rotate(90deg); }