Home » Snippets » CSS3 Tooltips Made Easy! CSS3 Tooltips Made Easy! - Snippet --- jQuery jQuery UI Bootstrap Angular Backbone D3 Ember GreenSock TweenMax Handlebars Lodash Modernizr Polymer React React DOM Snap.svg Three.js Underscore Zepto ZingChart --- Bootstrap Foundation Animate.css Preview HTML CSS JS <div class="toolTip"> <a href="#">Hover meh!</a> <span class="alt">Share the link</span> </div> body { background: #738394; } .toolTip { width: 150px; margin: 40px auto; position: relative; } .toolTip a{ font: 14px Arial, sans-serif; color: white; text-decoration: none; text-align: center; } .toolTip .alt{ display: none; } .toolTip a:hover ~ .alt{ display: inline; padding: 6px; margin: 0px; margin-top: 5px; color: #555; font: 13px Arial, sans-serif; font-weight: bold; line-height:; border-top: 1px solid #dde1e7; text-align: center; text-shadow: 1px 1px 0px rgba(255,255,255,.3); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.8), 0px 3px 10px 0px rgba(0,0,0,0.2); -moz-box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.8), 0px 3px 10px 0px rgba(0,0,0,0.2); box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.8), 0px 3px 10px 0px rgba(0,0,0,0.2); background: #cdd4dc; background: -moz-linear-gradient(top, #cdd4dc 0%, #959ca4 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cdd4dc), color-stop(100%,#959ca4)); background: -webkit-linear-gradient(top, #cdd4dc 0%,#959ca4 100%); background: -o-linear-gradient(top, #cdd4dc 0%,#959ca4 100%); background: -ms-linear-gradient(top, #cdd4dc 0%,#959ca4 100%); background: linear-gradient(top, #cdd4dc 0%,#959ca4 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cdd4dc', endColorstr='#959ca4',GradientType=0 ); font-weight: normal; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; width:120px; display:block; } .alt:hover { display:none; } Tutorials Palace 20 December, 2018 No Comments 132 Views CSS3 Tooltips Made Easy! CSS Layouts CSS Layouts Download CSS3 Tooltips Made Easy! Code Fullscreen Tutor Play Walkthrough Related Snippets Box Shadow Editor Canvas Particles Emission Dripping Paint CSS3 Animation National flag of Mongolia Particles Emission Based on Mouse Moves Custom Cursor Images with CSS Particle System Leaving Trails CSS3 LT Form Particles Gravity Effect Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Name * Email * Website Notify me of new posts by email.