On
<div class="container"> <a href="#chat" class="wblz wblz-top" data-wblz="Chat">Chat</a> <a href="#call" class="wblz wblz-top" data-wblz="Call">Call</a> </div>
/** * Tool TIP /CSS * webbeloz ( lab ) */ @import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300); html, body { height: 100%; margin: 0; background: #063d4e; overflow: hidden; -webkit-box-shadow: inset 0px 0px 150px 0px rgba(0, 0, 0, 0.7); box-shadow: inset 0px 0px 150px 0px rgba(0, 0, 0, 0.7); } .container { position:absolute; left:50%; top:50%; -webkit-transform: translate(-50%, -50%); -webkit-transform-origin: 0 0; transform: translate(-50%, -50%); transform-origin: 0 0; } a { position:relative; display:inline-block; color: #dbdbdb; text-decoration: none; font-family: 'Open Sans Condensed', sans-serif; font-weight:300; font-size:18px; height:30px; width:80px; text-align:center; vertical-align:middle; line-height:30px; } /* My T > TIP */ .wblz { position: relative; display: inline-block; } .wblz:before, .wblz:after { position: absolute; opacity: 0; z-index: 1000000; -webkit-transition: 0.3s ease; -moz-transition: 0.3s ease; pointer-events: none; } .wblz:hover:before, .wblz:hover:after { opacity: 1; } .wblz:before { content: ''; position: absolute; background: transparent; border: 6px solid transparent; position: absolute; } .wblz:after { content: attr(data-wblz); background: rgba(0, 0, 0, 0.8); color:#777; padding: 0px 10px; font-size: 16px; white-space: nowrap; border-radius:5px; box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3); } /* top */ .wblz-top:nth-of-type(1):before { left: 35%;margin: 0 0 28px 8px;} .wblz-top:nth-of-type(2):before { left: 35%;margin: 0 0 28px 6px;} .wblz-top:before { bottom: 100%; /*left: 35%;*/ /*margin: 0 0 28px 7px;*/ border-top-color: rgba(0, 0, 0, 0.8); } .wblz-top:after { bottom: 100%; left: 50%; margin: 0 0 10px -20px; } .wblz-top:hover:before { margin-bottom: -10px; } .wblz-top:hover:after { margin-bottom: 2px; }