{"id":32236,"date":"2016-02-04T17:19:00","date_gmt":"2016-02-04T11:49:00","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=32236"},"modified":"2016-02-05T10:24:29","modified_gmt":"2016-02-05T04:54:29","slug":"a-tag-attribute-to-hover-tooltip","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/a-tag-attribute-to-hover-tooltip\/","title":{"rendered":"Title attribute to make hover Tooltip"},"content":{"rendered":"<p><strong>Introduction<\/strong><br \/>\nWith the help of \u2018CSS3\u2019 codes we can make title attribute to hover Tooltip without the use of any other tag.<\/p>\n<p><strong>Where it can be used?<\/strong><br \/>\nYou can use this implementation on Static or Dynamic site<strong>.<br \/>\n<\/strong><\/p>\n<p><strong>Use of jquery.<\/strong><br \/>\nNo use of any Jquery scripts.<\/p>\n<p><strong>Required CSS.<\/strong><\/p>\n<p>a {<br \/>\ncolor: #666666;<br \/>\n}<\/p>\n<p>a:hover {<br \/>\ncolor: #ff0000; position: relative;<br \/>\n}<\/p>\n<p>a[title]:hover:after {<br \/>\ncontent: attr(title); padding: 4px 8px; color: #333; position: absolute; left:0; top: 100%; z-index: 20px;<\/p>\n<p>\/* You can change tooltip design *\/<\/p>\n<p>-moz-border-radius: 5px;<br \/>\n-webkit-border-radius: 5px;<br \/>\nborder-radius: 5px;<br \/>\n-moz-box-shadow: 0px 0px 4px #222;<br \/>\n-webkit-box-shadow: 0px 0px 4px #222;<br \/>\nbox-shadow: 0px 0px 4px #cccccc;<br \/>\nbackground-image: -moz-linear-gradient(top, #eeeeee, #cccccc);<br \/>\nbackground-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #eeeeee),color-stop(1, #cccccc));<br \/>\nbackground-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);<br \/>\nbackground-image: -moz-linear-gradient(top, #eeeeee, #cccccc);<br \/>\nbackground-image: -ms-linear-gradient(top, #eeeeee, #cccccc);<br \/>\nbackground-image: -o-linear-gradient(top, #eeeeee, #cccccc);<\/p>\n<p>}<\/p>\n<p><strong>HTML<\/strong><\/p>\n<p>&lt;a href=&#8221;#&#8221;title=&#8221;YOUR TEXT&#8221;&gt;YOUR TEXT&lt;\/a&gt;<br \/>\n<strong>Support browser<\/strong><\/p>\n<table width=\"100%\">\n<tbody>\n<tr>\n<td width=\"100\"><strong>Browser<\/strong><\/td>\n<\/tr>\n<tr>\n<td>FireFox 3.6+<\/td>\n<\/tr>\n<tr>\n<td>Safari 5+<\/td>\n<\/tr>\n<tr>\n<td>Chrome 6<\/td>\n<\/tr>\n<tr>\n<td>Opera 10.5+<\/td>\n<\/tr>\n<tr>\n<td>IE 9 and above<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction With the help of \u2018CSS3\u2019 codes we can make title attribute to hover Tooltip without the use of any other tag. Where it can be used? You can use this implementation on Static or Dynamic site. Use of jquery. No use of any Jquery scripts. Required CSS. a { color: #666666; } a:hover { [&hellip;]<\/p>\n","protected":false},"author":346,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":5},"categories":[1],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/32236"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/346"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=32236"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/32236\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=32236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=32236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=32236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}