課程
/前端開發(fā)
/JavaScript
/DOM事件探秘
為什么沒有三角形,難道要自己加嗎
2016-07-28
源自:DOM事件探秘 5-1
正在回答
自己加啊。在css中:
?cite:before {
? ? ? content: '';
? ? ? position: absolute;
? ? ? right: 7px;
? ? ? bottom: 7px;
? ? ? width: 0;
? ? ? height: 0;
? ? ? border-width: 4px;
? ? ? border-style: solid;
? ? ? border-color: #888 transparent transparent transparent;
? ? ? transition: all 0.2s;
? ? ? -webkit-transition: all 0.2s;
? ? ? -moz-transition: all 0.2s;
? ? ? -o-transition: all 0.2s;
? ? ? -ms-transition: all 0.2s;
? ? ? transform-origin: 50% 25%;
? ? ? -ms-transform-origin: 50% 25%;
? ? ? -moz-transform-origin: 50% 25%;
? ? ? -webkit-transform-origin: 50% 25%;
? ? ? -o-transform-origin: 50% 25%;
? ? }
唯爾半截湘妃 提問者
kx00012kx
這個是下三角,那上三角怎么加呢?
舉報
DOM事件?本課程會通過實例來給小伙伴們講解如何使用這些事件
2 回答下三角的小圖片xjt.png在哪呢
1 回答看不到三角
3 回答下三角在那里
1 回答下拉菜單倒三角
1 回答為什么5-1里,點擊三角時需阻止事件冒泡呢?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2016-07-28
自己加啊。在css中:
?cite:before {
? ? ? content: '';
? ? ? position: absolute;
? ? ? right: 7px;
? ? ? bottom: 7px;
? ? ? width: 0;
? ? ? height: 0;
? ? ? border-width: 4px;
? ? ? border-style: solid;
? ? ? border-color: #888 transparent transparent transparent;
? ? ? transition: all 0.2s;
? ? ? -webkit-transition: all 0.2s;
? ? ? -moz-transition: all 0.2s;
? ? ? -o-transition: all 0.2s;
? ? ? -ms-transition: all 0.2s;
? ? ? transform-origin: 50% 25%;
? ? ? -ms-transform-origin: 50% 25%;
? ? ? -moz-transform-origin: 50% 25%;
? ? ? -webkit-transform-origin: 50% 25%;
? ? ? -o-transform-origin: 50% 25%;
? ? }
2016-08-20
這個是下三角,那上三角怎么加呢?