causeway-standard-theme
Version:
38 lines (31 loc) • 1.11 kB
HTML
<section>
<a id="tooltip"></a>
<header class="content-header">
<h1 class="title">
Tooltips
</h1>
</header>
<p>
Tooltips comprise of several attributes that can be added to most elements, a class of <code>"has-tooltip"</code>, the <code>"data-toggle"</code> attribute which must contain <code>"tooltip"</code> and the <code>"data-title"</code> attribute that contains the text that should be visible in the tooltip.
</p>
<a href="#" class="has-tooltip" data-toggle="tooltip" data-title="This is a tooltip">
This has a tooltip
</a>
<pre>
<code>
<a href="#" class="has-tooltip" data-toggle="tooltip" data-title="This is a tooltip">
This has a tooltip
</a>
</code>
</pre>
<span class="has-tooltip" data-toggle="tooltip" data-title="Another tooltip">
So does this
</span>
<pre>
<code>
<span class="has-tooltip" data-toggle="tooltip" data-title="Another tooltip">
So does this
</span>
</code>
</pre>
</section>