纯css实现选项卡 效果如下: 其实用css实现选项卡是非常简单的 css中 .box{ width: 302px;height: 302px;border-top: 1px solid gainsboro;text-align: center;