用jQuery实现简单的Tab切换
具体代码如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
.box{
width: 500px;height: 400px;border: solid 1px black;margin: 20px auto;}
.box ul{
margin: 0;padding: 0;list-style: none;height: 40px;line-height:40px;
display: flex;background: #ccc;text-align: center;}