最新回答 / weibo_上輩子可能是只狗_0
$(function(){ $('.link .button').hover(function(){ var title = $(this).attr('data'); $('.tip em').text(title); var pos = $(this).position().left + 10; var dis = ($('.tip').outerWidth() - $(this).outerWidth())/2; var l = pos - dis; $('.tip').stop(); ...
2017-08-18
已采納回答 / 慕粉0856303723
設(shè)置一個 span(或其它元素)的CSS為:border:7px solid transparent;border-top-color:red;看起來就是一個向下的箭頭了
2017-06-05