把div的高寬都設置爲0;
利用border來實現純css的三角形
要是倒三角,則有border-top沒有botton 左右border都不要;
如
width: 0; height: 0; border-width: 7px; border-style: solid; border-color: transparent; border-top-color: #fff;
(但是在css6下會有黑色背景,其他的沒有,尋求方法解決中。。。)
把div的高寬都設置爲0;
利用border來實現純css的三角形
要是倒三角,則有border-top沒有botton 左右border都不要;
如
width: 0; height: 0; border-width: 7px; border-style: solid; border-color: transparent; border-top-color: #fff;
(但是在css6下會有黑色背景,其他的沒有,尋求方法解決中。。。)
<style type=text/css>td { font-size: 12px; color: #000000; line-heig
主要用到 $("#id").show();//顯示 $("#id").hide();//隱藏 $("#id").toggle();//狀態相反