You searched for CSS tooltips allot,
try this



<style type="text/css">
    a {
        color: #0000ff;
        text-decoration: none;
        cursor: help;
        font-size: 10px;
    }
    a:hover {
        color: #ff0000;
    }
    a.tooltip span {
        display: none;
        padding: 10px;
        margin-left: 8px;
        background: rgba(255, 255, 200, 0.5);
        color: #000;
        min-width: 100px;
        width: auto;
        text-align: justify;
        border: 1px solid #ff0;
    }
    a.tooltip:hover span {
        display: inline;
        position: absolute;
    }
    .tri_right {
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid #ffff00;
        display: none;
        position: absolute;
    }
    a.tooltip:hover .tri_right {
        display: inline;
    }
</style>

<a href="#" class="tooltip">Help
 <div class="tri_right"></div>
 <span>CSS Tooltip totally <br/> customizable.</span>
</a>

0 comments:

Post a Comment

 
Top