You don’t need an animation library for a sliding tab indicator.
Measure the selected tab, put its position and width into CSS variables, and add a transition. CSS does the rest.
That’s how the tabs in Eris UI work.
#css #webdev
commit 75a042a
75a042a
commit 75a042a