Search
 
SCRIPT & CODE EXAMPLE
 

CSS

truncate text css

.element{

  text-overflow: ellipsis;

  /* Required for text-overflow to do anything */
  white-space: nowrap;
  overflow: hidden;
}
Comment

PREVIOUS NEXT
Code Example
Css :: square bullets css 
Css :: tachar texto css 
Css :: invert css 
Css :: instagram gradient css 
Css :: remove scrollbar css 
Css :: prevent enter key submitting a form jquery 
Css :: div border glow effect css 
Css :: css ellipsis max width 
Css :: css select all except first 
Css :: button mouse icon hover css 
Css :: make png image white css 
Css :: Failed to start ssh.service: Unit ssh.service not found. 
Css :: css text transform 
Css :: elementor accordions closed by default 
Css :: how to put element in center in html 
Css :: jquery css 
Css :: css device orientation 
Css :: css detect if input has value 
Css :: css make text not highlightable 
Css :: css make text transparent 
Css :: mirror text css 
Css :: css stop scrollbar 
Css :: aligning form elements to center in css 
Css :: calc(100vh - px) 
Css :: css select every 3rd element 
Css :: css table column spacing 
Css :: css noselect 
Css :: make background image full width 
Css :: display none transition 
Css :: navigation bar stays on top 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =