Answers for "how to define max number of character for a paragraph css"

CSS
0

how to define max number of character for a paragraph css

p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
Posted by: Guest on October-14-2021
0

how to define max number of character for a paragraph css

p {
  overflow: hidden;
  max-width: 75ch;
}
Posted by: Guest on October-14-2021

Code answers related to "how to define max number of character for a paragraph css"

Browse Popular Code Answers by Language