egoist / docute

📚 Effortless documentation, done right.
https://docute.egoist.dev
MIT License
3.8k stars 427 forks source link

Add function of panning the active tab's border #154

Open ulivz opened 6 years ago

ulivz commented 6 years ago

When user switches a tab, it would be better to pan the border instead of changing the status directly

image

egoist commented 6 years ago

not sure what pan the border means

ulivz commented 6 years ago

@egoist Something like this:

background-moving

egoist commented 6 years ago

I think this makes it unnecessarily complex.

ulivz commented 6 years ago

This implementation only need pure css, but having a defect is to increase the css's size.