Limit text automatically according to <div>
width using JQuery or CSS
Input : This is my text and I want to limit.
.limit-text{
width:300px;
}
<div class="limit-text">
<span>This is my text and I want to limit.</span>
</div>
Output : This is my text and I wa....