CSS 툴팁 > html

본문 바로가기
사이트 내 전체검색

html

CSS 툴팁

페이지 정보

작성자 서방님 댓글 0건 조회 130회 작성일 13-05-14 09:26

본문

<style type="text/css">
a.tooltip {outline:none; }
a.tooltip strong {line-height:30px;}
a.tooltip:hover {text-decoration:none;}
a.tooltip span {
    z-index:10;display:none; padding:14px 20px;
    margin-top:-30px; margin-left:28px;
    width:240px; line-height:16px;
}
a.tooltip:hover span{
    display:inline; position:absolute; color:#111;
    border:1px solid #DCA; background:#fffAF0;}
.callout {z-index:20;position:absolute;top:30px;border:0;left:-12px;}

/*CSS3 extras*/
a.tooltip span
{
    border-radius:4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;

    -moz-box-shadow: 5px 5px 8px #CCC;
    -webkit-box-shadow: 5px 5px 8px #CCC;
    box-shadow: 5px 5px 8px #CCC;
}
</style>


<a href="#" class="tooltip">
    Tooltip
    <span>
        <img class="callout" src="http://www.menucool.com/tooltip/src/callout.gif" />
        <strong>Most Light-weight Tooltip</strong><br />
        This is the easy-to-use Tooltip driven purely by CSS.
    </span>
</a>
<a href="#" class="tooltip">
    <img src="http://www.menucool.com/img/demo/css-tooltip-image.gif" />
    <span>
        <img class="callout" src="http://www.menucool.com/tooltip/src/callout.gif" />
        <strong>CSS only Tooltip</strong><br />
        <img src="http://www.menucool.com/img/demo/css-tooltip-image.gif" style="float:right;" />
        Pure CSS popup tooltips with clean semantic XHTML.
    </span>
</a>

 

 Capture_1.gif

Capture_2.gif

댓글목록

등록된 댓글이 없습니다.

Total 323건 9 페이지
게시물 검색

회원로그인

접속자집계

오늘
87
어제
84
최대
1,347
전체
154,458
Latest Crypto Fear & Greed Index

그누보드5
Copyright © 서방님.kr All rights reserved.