新浪导航栏下拉菜单案例展示
小白初学初打
大佬手下留情
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
* {
padding: 0;
margin: 0;
}
li {
list-style: none;
}
.boxbox {
border-top: 3px solid orange;
}
.box {
margin-left: 820px;
}
.box1 {
position: relative;
display: inline-block;
height: 50px;
text-align: center;
line-height: 40px;
}
.box1>ul {
position: abs