<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale= di">
<title>Document</title>
</head>
<style>
*{
margin: 0;
padding: 0;
}
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.tab{
background-color: ;
}
.tab_list{
border-bottom: 2px solid rgb(241,74,55);
background-color: rgb(245,248,245);
line-height: 38px;
}
ul{
width: 988px;
height: 38px;
line-height: 38px;
list-style: none;
}
ul li{
display: inline-block;
padding-left:35px;
width: 100px;
height: 100%;
通过html css javascript实现仿京东tab栏
最新推荐文章于 2022-12-21 19:37:59 发布