#menu ul ul ul {
position: absolute;
top: 0;
left: 100%; /* everything goes to opposite direction why?? It doesnt make sense */
width: 100%;
}
這是一個簡單的dropDown in CSS(我正在學習CSS)...看看我在代碼中隱藏塊here in JS Bin。有人可以解釋這個CSS代碼嗎?
#menu ul ul ul {
position: absolute;
top: 0;
left: 100%; /* everything goes to opposite direction why?? It doesnt make sense */
width: 100%;
}
這是一個簡單的dropDown in CSS(我正在學習CSS)...看看我在代碼中隱藏塊here in JS Bin。有人可以解釋這個CSS代碼嗎?
你想有人向你解釋整個事情嗎? – Ibu
@YoniGeek在代碼 – BumbleB2na
@Ibu的評論中提出了問題我只是想知道爲什麼這行代碼使事情移動到不同的方向...... – YoniGeek