AllInWorld99 provides a reference manual covering many aspects of web programming, including technologies such as HTML, XHTML, CSS, XML, JavaScript, PHP, ASP, SQL,FLASH, jQuery, java, for loop, switch case, if, if else, for...of, for...in, for...each,while loop, blogger tips, blogger meta tag generator, blogger tricks, blogger pagination, client side script, html code editor, javascript editor with instant output, css editor, online html editor, materialize css tutorial, materialize css dropdown list,break, continue statement, label,array, json, get day and month dropdown list using c# code, CSS button,protect cd or pendrive from virus, cordova, android example, html and css to make android app, html code play,telerik show hide column, Transparent image convertor, copy to clipboard using javascript without using any swf file, simple animation using css, SQL etc. AllInWorld99 presents thousands of code examples (accompanied with source code) which can be copied/downloaded independantly. By using the online editor provided,readers can edit the examples and execute the code experimentally.


Tool tip created using pure CSS

    The following example is created by pure css, no jQuery needs to make the tool tips. And you can modify the code by using our HTML live editor and see the changed output instantly.

The CSS is
Simple CSS Tool Tip

<style>
.tooltip {
position: relative;
}
.tooltip:before, .tooltip:after {
position: absolute;
transition: All 0.5s ease;
-webkit-transition: All 0.5s ease;
-moz-transition: All 0.5s ease;
-o-transition: All 0.5s ease;
margin-left: -100px;
left: 50%;
bottom: 300%;
display: block;
color: #000;
opacity: 0;
}
.tooltip:before {
content: attr(title);
border: solid 1px #0088cc;
background: #FFF;
width: 200px;
text-align: center;
z-index: 2;
font-size: 13px;
line-height: 18px;
padding: 5px;
}
.tooltip:after {
content: '\25c6';
margin-left: 0;
margin-top: 10px;
width: 15px;
height: 15px;
z-index: 1;
line-height: 28px;
color: #0088cc;
font-size: 20px;
}
.tooltip:hover:before, .tooltip:hover:after {
bottom: 150%;
opacity: 1;
}
</style>



Example Program:- (Editor)


Editor is Loading...

Advertisement



1 comment:

Total Pageviews