JSFiddle - React, Tailwind, and code Playground
HTML
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<input placeholder="hello" />
<input placeholder="world" />
CSS
body {
padding:40px;
}
JavaScript
$("input").first().tooltip({
placement: "bottom",
title: "world",
trigger: "hover focus"
});
$("input").last().tooltip({
placement: "top",
title: "hello",
trigger: "hover focus"
});