p {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 200px;
}
/*CSS to limit the text length inside a div*/
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
Code Example |
---|
Css :: blur edges css |
Css :: center a class css |
Css :: tzutc |
Css :: watch scss to css |
Css :: css code to blur background |
Css :: css make text not highlightable |
Css :: css keep image ratio |
Css :: Media query Tablet and smaller |
Css :: how to center items in css |
Css :: css grid center |
Css :: tailwind border bottom |
Css :: box shadow border only show left side |
Css :: css ios disable zoom |
Css :: aligning form elements to center in css |
Css :: ho to choose the first child of parent in css |
Css :: hex code for khaki |
Css :: hide title wordpress |
Css :: css not last of type |
Css :: div align right in css |
Css :: how to center image css |
Css :: css invert columns |
Css :: change font with calc function |
Css :: ionchips scroll x |
Css :: restful url to update status |
Css :: how to remove default styling of a tag |
Css :: android studio cardview background transparent |
Css :: border color gradient tailwind |
Css :: li only showing first bullet |
Css :: center items |
Css :: css round outline |