Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css clip text

div.a {
  white-space: nowrap; 
  width: 100px; 
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid #000000;
}

/*or==============*/ 

p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*/this will show text like this 
This is some long text........*/
Comment

PREVIOUS NEXT
Code Example
Css :: bulma capitalized 
Css :: css text align 
Css :: bootstrap file upload 
Css :: css glow on hover 
Css :: media queries css wit logical operators 
Css :: scss for loop nth child 
Css :: custom horizontal scrollbar css 
Css :: Can I use placeholder in <input type="time"/ 
Css :: convert image in rounshape in css 
Css :: gradient text color css 
Css :: css selector all class prefix 
Css :: add border to input css 
Css :: red color rgb 
Css :: sass darken 
Css :: how to disable margin collapsing 
Css :: avoid side scrolling css 
Css :: mat-progress-bar just dots 
Css :: html center image 
Css :: css after not working 
Css :: css ie11 only 
Css :: how to center a div element 
Css :: color code for cyan 
Css :: css mobile height 100vh 
Css :: jest test try catch 
Css :: css align backround image to the right 
Css :: multi colors in background in css 
Css :: material icons after css 
Css :: no break line html 
Css :: uninstall tinyproxy ubuntu 
Css :: iconscout css 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =