{{ enablePlugins('prettify') }} {% set title = "Tooltips" %} {% extends "layouts/application.html" %} {% block content %} {% include "shared/page-title.html" %}
Add the Tooltipped class to your element and add either top, bottom, left, right on data-tooltip to control the position.
<!-- data-position can be : bottom, top, left, or right --> <!-- data-delay controls delay before tooltip shows (in milliseconds)--> <a class="btn tooltipped" data-position="bottom" data-delay="50" data-tooltip="I am tooltip">Hover me!</a>