title: How to create a tooltip?
body: <p>I want to make a custom CSS class for tooltip which will wrap a string of length more than 25-30.Usually such a long text doesn't fit into the tootltip text area. </p>
  
  <p>And is there anyway to do this using <a href="http://angular-ui.github.io/bootstrap/#/tooltip" rel="noreferrer">Tooltip (ui.bootstrap.tooltip)</a> ? 
  Like using custom CSS class to get the desired output.</p>
  
  <p>This is the simple css tooltip - <a href="http://plnkr.co/edit/qhnkkTNfl9i7zu7aMXFJ?p=preview" rel="noreferrer">Plunker DEMO</a></p>
  
  <p>Here is the code Snippet for the same :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.tooltip {
      position: relative;
      display: inline-block;
      border-bottom: 1px dotted black;
  }
  
  .tooltip .tooltiptext {
     
      max-width:100px;
      padding:15px;
      min-height:30px;
      background:#fff;
      visibility: hidden;
      border: 1px solid black;
      color: #000;
      text-align: center;
      border-radius: 6px;
      /* Position the tooltip */
      position: absolute;
      z-index: 1;
  }
  
  .tooltip:hover .tooltiptext {
      visibility: visible;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body style="text-align:center;"&gt;
  
  &lt;p&gt;Move the mouse over the text below:&lt;/p&gt;
  
  &lt;div class="tooltip"&gt;Hover over me 1
    &lt;span class="tooltiptext"&gt;Tooltip text&lt;/span&gt;
  &lt;/div&gt;
  &lt;div class="tooltip"&gt;Hover over me 2
    &lt;span class="tooltiptext"&gt;Array [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,11,1,1,1,11,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1]&lt;/span&gt;
  &lt;/div&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>