JSFiddle - React, Tailwind, and code Playground

by Tim Peterson

HTML

<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-combined.min.css" rel="stylesheet">
    <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/js/bootstrap.min.js"></script>
    
    <div class="" data-toggle="collapse" data-target="#div1" >
         <span><b>Div1:</b> This is a sentence at the end of the first 100 characters that gets truncated </span>
	 <i class='icon-plus-sign'></i>	
    </div>
    <div id="div1" class="collapse" >such that characters 101 to infinity are not shown inline with the beginning of the sentence (<b>Div1</b>).</div>
    
    <div class="" data-toggle="collapse" data-target="#div2" >
	 <span><b>Div2:</b>This is a sentence at the end of the first 100 characters that gets truncated </span>
	 <i class='icon-plus-sign'></i>	
    </div>
    <div id="div2" class="collapse" >such that characters 101 to infinity are not shown inline with the beginning of the sentence (<b>Div2</b>).</div>