第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

箭頭顯示有部分問題

只有二級菜單的第一個li和三級菜單第一個li有箭頭,且三級菜單的箭頭經(jīng)過時還有問題,用的谷歌瀏覽器,求解


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>css3下拉菜單</title>

<style type="text/css">

*{

margin:0;

padding:0;

}

li{

list-style:none;

}

a{

text-decoration:none;

}

.top_nav{

width:960px;

margin:60px auto;

border:1px solid #222;

background-color:#111;

background-image:linear-gradient(#444,#111);

border-radius:6px;

box-shadow:0px 1px 1px #777;

}

.top_nav:before,.top_nav:after{

content:" ";

display:table;

}

.top_nav:after{

clear:both;

}

.top_nav{

zoom:1;/*zoom<IE8*/

}

.top_nav li{

float:left;

border-right:1px solid #222;

box-shadow:1px 0 0 #444;

text-align:center;

position:relative;

}

.top_nav li a{

float:left;

padding:12px 30px;

color:#999;

font:bold 12px;

display:block;

text-shadow:0px 1px 0px #000;

}

.top_nav li a:hover{

color:#fafafa;

}

.top_nav li ul{

visibility:hidden;

position:absolute;

top:38px;

left:0;

z-index:1;

background-color:#444;

background-image:linear-gradient(#444,#111);

box-shadow:0 -1 0 rgba(255,255,255,.3);

border-radius:3px;

opacity:0;

margin:20px 0 0 0;

transition:all .2s ease-in-out;

}

.top_nav li:hover > ul{

opacity:1;

visibility:visible;

margin:0;

}?

.top_nav ul li{

float:none;

border:0;

display:block;

box-shadow:0 1px #111,0 2px #666;

}

.top_nav ul li:last-child{

box-shadow:0 1px transparent,0 2px transparent;

}

.top_nav ul a{

padding:10px;

width:130px;

display:block;

float:none;

}

.top_nav ul a:hover{

background-color:#0186ba;

background-image:linear-gradient(#04acec,#0186ba);

}

.top_nav ul li:first-child > a{

border-radius:3px 3px 0 0;

}

.top_nav ul li:last-child > a{

border-radius:0 0 3px 3px;

}

.top_nav ul li:first-child > a:before{

content:" ";

position:absolute;

left:40px;

top:-6px;

border-bottom:6px solid #444;

border-left:6px solid transparent;

border-right:6px solid transparent;

}

.top_nav ul li:first-child >a:hover:before{

border-bottom-color:#04acec;

}

.top_nav ul ul{

top:0;

left:150px;

margin:0 0 0 20px;

box-shadow:-1px 0 0 rgba(255,255,255,.3);

}

.top_nav ul ul li:first-child a:before{

top:50%;

left:-6px;

margin-top:-6px;

border-left:0;

border-top:6px solid transparent;

border-bottom:6px solid transparent;

border-right:6px solid #3b3b3b;

}

.top_nav ul ul li:first-child a:hover:bofore{

border-right-color:#0299d3;

border-bottom-color:transparent;

}

</style>

</head>


<body>?

<ul class="top_nav">

? <li><a href="#">慕課網(wǎng)</a></li>

? <li><a href="#">課程大廳</a></li>

? <li><a href="#">學(xué)習(xí)中心</a>

? ? <ul>?

? ? ? <li><a href="#">前端課程</a>

? ? ? ? <ul>

? ? ? ? ? <li><a href="#">javascript</a></li>

? ? ? ? ? <li><a href="#">css</a></li>

? ? ? ? ? <li><a href="#">jquery</a></li>

? ? ? ? </ul>

? ? ? </li>

? ? ? <li><a href="#">手機開發(fā)</a></li>

? ? ? <li><a href="#">后臺編程</a></li>

? ? </ul>

? </li>

? <li><a href="#">關(guān)于我們</a></li>

</ul>

</body>

</html>

http://img1.sycdn.imooc.com//57fca1790001ef8f19140737.jpg

57fc9f1900011fe105000184.jpg

57fc9f1a0001e8ce05000152.jpg

57fc9f1d000148c405000196.jpg


正在回答

2 回答

.top_nav ul ul li:first-child a:hover:bofore{

border-right-color:#0299d3;

border-bottom-color:transparent;

}

before拼錯了,不是bofore...

0 回復(fù) 有任何疑惑可以回復(fù)我~

我之前也是這樣。應(yīng)該是a::before出現(xiàn)了問題。你仔細看看三角寫對了沒。

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消
形形色色的下拉菜單
  • 參與學(xué)習(xí)       106933    人
  • 解答問題       563    個

本教程從易到難,循循漸進,運用不同技術(shù)實現(xiàn)動態(tài)下拉菜單

進入課程

箭頭顯示有部分問題

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號