Only part of the text visible in the text box
2 answers
You can use overflow: hidden
css property :
div {
border: 1px solid #333;
height: 20px;
width: 50px;
overflow: hidden;
}
<div>Lorem ipsum dolor.</div>
+4
source to share