Difference between revisions of "Template:Tooltip"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) |
||
Line 8: | Line 8: | ||
.tooltip .tooltiptext { | .tooltip .tooltiptext { | ||
visibility: hidden; | visibility: hidden; | ||
width: | width: fit-content; | ||
background-color: black; | background-color: black; | ||
color: #fff; | color: #fff; |
Revision as of 17:56, 1 September 2020
This template does the same thing as <abbr>
tooltips, except that the tips can be viewed on mobile this time.
Usage
{{Tooltip|text1|text2}}
text1text2
{{Tooltip|base=text1|tip=text2}}
text1text2
{{Tooltip|Nether element|[[File:Element dark.png|50px]]}}
{{Tooltip|[[File:Element dark.png|50px]]|Nether element}}
{{Tooltip|text1|text2|width=120px}}
text1text2