Home  >  Article  >  Web Front-end  >  CSS-悬浮显示提醒_html/css_WEB-ITnose

CSS-悬浮显示提醒_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:52:011239browse

<script><br />$(function(){<br /> $("#account,div.account-set").hover( <!-- 鼠标置上时显示内容 --><br /> function(){$(".account-set").show();},<br /> function(){$(".account-set").hide();}<br /> ); <br />})<br />$(document).ready(<br />function(){<br /> $(".account-set").css("left",$("#account").offset().left+26); <!-- 悬浮内容的显示位置 --><br /> $(".account-set").css("top",$("#account").offset().top+19);<br /> });<br /></script>

 

 

ul和li使用时,每行开始显示的是●

ol和li使用时,显示的是序号1~i

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn