- 适用场景
- Tab bars, browser-style tabs and view switchers that move between two panes.
- 工作原理
- Hover it and the window, the tab divider, the edge under the second tab and the content draw in. The open tab is softly tinted. Switch tabs and the tint moves to the other tab, the edge under it pulls back into the divider as a new one draws out under the first tab, and the content lines swap.
- 使用方法
- 在你的页面中引入 style.css和script.js,再把 index.html 里的标记粘贴到需要的位置。