Add … if string is too long


/ Published in: CSS
Save to your folder(s)

Add ... using css when string or title not fit on place
Add … if string is too long

Now, assuming the element has a fixed width, the browser will automatically break off and add the ... for you.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.