Last active
January 20, 2023 06:08
CSS Tooltip and <acronym> tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abbr { | |
position: relative; | |
cursor: pointer; | |
} | |
abbr:hover::after { | |
content: attr(title); | |
position: absolute; | |
white-space: nowrap; | |
background-color: #666; | |
padding: 3px 7px; | |
color: #fff; | |
border-radius: 3px; | |
left: 0; | |
top: 27px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p> | |
Rural development is a key thing for acheiving <abbr title="Gross Domestic Product">GDP</abbr>. Where there <abbr title="Bangladesh Agricultural and Rural Development">BARD</abbr> is an institution dedicated to this particular achievement. | |
</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment