* { padding:0; margin:0; } .My_Nav_erji,.My_Nav,.My_NavBar { background-color:#339900; } .My_Nav { width:100%; height:60px; z-index:1001; border:0px solid #339900; } .My_NavBar { width:600px; height:60px; margin:auto; } .My_NavBar > li { border:0px solid #ff0000; width:120px; list-style:none; float:left; margin-left:15px; text-align:center; line-height:60px; } .My_NavBar> li > a { color:white; text-decoration:none; } .My_Nav_erji { display:none; } .My_Nav_erji > li { border:0px solid #ff0000; list-style:none; height:40px; line-height:40px; text-align:center; } .My_Nav_erji > li > a { color:white; text-decoration:none; } .My_NavBar > li:hover>a { color:orange; } .My_Nav_erji > li:hover > a { color:orange; }
更新时间:2023-05-09 10:12:56