<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Title</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.tab {
width: 978px;
margin: 100px auto;
}
.s {
width: 700px;
height: 40px;
background-color: #ccc;
box-sizing: border-box;
}
ul li {
float: left;
height: 39px;
line-height: 39px;
padding: 0 20px;
text-align: center;
cursor: pointer;
list-style: none;
}
.color {
黑马jstab栏切换案例
最新推荐文章于 2022-10-17 16:41:24 发布