Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <h1>Animasi CSS3 Tooltip tanpa JQuery<small>lihat di bagian footer</small></h1>
<footer id="masterpanel">
	<ul id="mainpanel">
    <li><a href="#" class="dribble"><small>Dribble</small></a></li>
    <li><a href="#" class="forrst"><small>Forrst</small></a></li>
    <li><a href="#" class="facebook"><small>Facebook</small></a></li>
    <li><a href="#" class="twitter"><small>Twitter</small></a></li>
    <li><a href="#" class="google"><small>Google+</small></a></li>
    <li><a href="#" class="linked"><small>LinkedIn</small></a></li>
    </ul>
</footer>
              
            
!

CSS

              
                body {
	background: #161616 url(https://lh6.googleusercontent.com/-wkoZrDlLvZY/U7e8DyzzpiI/AAAAAAAAAEI/PaiueX8sZKE/s64-no/pattern_40.gif) top left repeat;
	margin: 0;
	padding: 0;
	font: 12px normal Verdana, Arial, Helvetica, sans-serif;
	height: 100%;
}

* {margin: 0; padding: 0; outline: none;}

img {border: none;}

h1 {
	font: 4em normal Arial, Helvetica, sans-serif;
	padding: 20px;	margin: 0;
	text-align:center;
	color:#bbb;
}

h1 a { color:#00c6ff; text-decoration:none; }

h1 small{
	font: 0.2em normal  Arial, Helvetica, sans-serif;
	text-transform:uppercase; letter-spacing: 0.2em; line-height: 5em;
	display: block;
	color:#fff;
}

#masterpanel {
	background-color:#161616;
	background: -moz-linear-gradient(top, rgba(22,22,22,.7) 0%, rgba(51,51,51,.7) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(22,22,22,.7)), color-stop(100%,rgba(51,51,51,.7)));
    background: -webkit-linear-gradient(top, rgba(22,22,22,.7) 0%,rgba(51,51,51,.7) 100%);
    background: -o-linear-gradient(top, rgba(22,22,22,.7) 0%,rgba(51,51,51,.7) 100%);
    background: linear-gradient(top, rgba(22,22,22,.7) 0%,rgba(51,51,51,.7) 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2161616,endColorstr=#B2333333);
	-moz-box-shadow:0 1px 10px #00c6ff;
	-webkit-box-shadow: 0 1px 10px #00c6ff;
	box-shadow:0 1px 10px #00c6ff;
	position:fixed;
	bottom:0;
	left:0;
	z-index:999;
	width:100%;
}

/*memberikan gaya ke daftar unordered*/
#masterpanel ul {
	padding:0;
	margin:0;
	float:left;
	width:80%;
	margin:0 10%;
	list-style:none;
	font-size:1em;
}
#masterpanel ul li {
	padding:0;
	margin:0;
	float:left;
	position:relative;
	border-right:1px solid #555;
}
#masterpanel ul li:first-child { border-left:1px solid #555; }

#masterpanel ul li a {
	margin:5px;
	margin-left:20px;
	margin-right:20px;
	float:left;
	height:26px;
	width:26px;
	text-decoration:none;
	color:#333;
	position:relative;
}

/*Mengganti teks link dengan gambar.*/
a.dribble   {background:url(https://lh4.googleusercontent.com/-Xx9Xy_jcrK8/U7e8DA5eA1I/AAAAAAAAAD4/tzxVtZFB1_I/s26-no/_0050_Dribbble.png) no-repeat; width:26px;}
a.forrst 	{ background:url(https://lh6.googleusercontent.com/-r9Mp1XbzP1A/U7e8ChkKgDI/AAAAAAAAAD0/dH2ct2lMMNs/s26-no/_0049_Forrst.png) no-repeat; }
a.facebook  { background:url(https://lh4.googleusercontent.com/-yC_vYx2uR9g/U7e8BmcIftI/AAAAAAAAADo/ktamQB34G-c/s26-no/_0048_Facebook.png) no-repeat;}
a.twitter 	{ background:url(https://lh6.googleusercontent.com/-h9n1An3WHqc/U7e8BmQEGiI/AAAAAAAAADk/89WZxUxdrfI/s26-no/_0046_Twitter.png) no-repeat;}
a.google 	{ background:url(https://lh5.googleusercontent.com/-UNYoIxF9cOw/U7e8DnCNgBI/AAAAAAAAAEE/6KYMpuDQ0Is/s26-no/google.png) no-repeat;}
a.linked	{ background:url(https://lh5.googleusercontent.com/-jakDQ9EMZcw/U7e8BoalobI/AAAAAAAAADg/0YhsFYicaug/s26-no/_0018_Linkedin.png) no-repeat;}

/*Sekarang kita tata tooltip, secara default tag <small> tersembunyi dengan display: none, ketika di hover, tooltip akan tampil dengan display: block; */
#masterpanel a small { 
	background:#000; 
	text-align:center; 
	width:70px; 
	padding:5px; 
	border-left:1px solid #111; border-top:1px solid #111; border-right:1px solid #333; border-bottom:1px solid #333; 
	border-radius:3px; 
	display:none; 
	color:#fff; 
	font-size:0.8em; 
	text-indent:0;
}

#masterpanel a:hover small { 
	display:block; 
	position:absolute; 
	top:0px; 
	left:50%; 
	margin:-40px; 
	z-index:9999; 
	-moz-animation:mymove .25s linear;  
	-webkit-animation:mymove .25s linear; 
} 

/*Animasi ini sangat sederhana, hanya mengambil properti transform:scale(x, y); dan bermain dengan value untuk menciptakan kembali efek bounce.*/
@-moz-keyframes mymove {
	0%{ -moz-transform:scale(0,0); opacity:0;}
	50%{ -moz-transform:scale(1.2,1.2); opacity:0.3; }
	75%{ -moz-transform:scale(0.9,0.9); opacity:0.7;}
	100%{ -moz-transform:scale(1,1); opacity:1;}
}

@-webkit-keyframes mymove {
	0%{ -webkit-transform:scale(0,0); opacity:0;}
	50%{ -webkit-transform:scale(1.2,1.2); opacity:0.3;}
	75%{ -webkit-transform:scale(0.9,0.9); opacity:0.7;}
	100%{ -webkit-transform:scale(1,1); opacity:1;}
}
              
            
!

JS

              
                
              
            
!
999px

Console