已采納回答 / Alyssa_Lee
<...code...>
最贊回答 / J小灰輝
寫before、after的時候要注意,content屬性一定要有,如果沒有內(nèi)容也要寫為空,不然是不會顯示的;寫三角的時候,width和height要為0;在寫邊框的時候要把背景寫成transparent(透明),想要哪個方向的箭頭,就讓相反方向的邊框加顏色;建議在before、after要做絕對定位的時候,設(shè)置啟父對象為相對定位。<...code...><...code...>
2015-05-10
最新回答 / 歪嘴的肖恩
http://www.w3school.com.cn/tiy/t.asp?f=csse_border這是W3C的一個border的一個測試,我改造了一下,你把一下代碼替代原來的p:p?{? ? width: 100;? ? height: 100;? ? border-left: 50px solid green;? ? border-right: 50px solid green;? ? border-top: 50px solid yellow;? ? border-bottom: 100px sol...
2015-05-03
已采納回答 / qq_木頭一個_0
用到了,你注意看section標(biāo)簽的id;對比一下<a>標(biāo)簽的href;你就明白了。他們是一樣的吧?這個錨鏈接就是切換section來達(dá)到點(diǎn)擊導(dǎo)航,切換顯示內(nèi)容的。只要你的能切換顯示內(nèi)容, 就說明a標(biāo)簽的錨鏈接用到了。
2015-05-02
已采納回答 / 菜鳥要升級
#st-control-1:checked ~.st-scroll #st-panel-1 h2,#st-control-2:checked ~.st-scroll #st-panel-2 h2,#st-control-3:checked ~.st-scroll #st-panel-3 h2,#st-control-4:checked ~.st-scroll #st-panel-4 h2,#st-control-5:checked ~.st-scroll #st-panel-5 h2{ -webkit-a...
2015-04-29
最新回答 / Ian_cai
同問啊,老師講的淺顯易懂