반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- unittest
- 센토스
- react
- centos
- vsCode
- MachineLearning
- Chrome
- fastapi
- ReactNative
- 티스토리챌린지
- build
- webpack
- Android
- linux
- PYTHON
- 오블완
- TensorFlow
- VirtualBox
- 개발
- xcode
- 네트워크
- MAC
- androidstudio
- 리눅스
- localserver
- IOS
- node
- pydantic
- 맥
Archives
- Today
- Total
로메오의 블로그
css 텍스트 말줄임 - text ellipsis 본문
반응형
한줄 줄이기
.call-summary p {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
여러줄 줄이기
.call-summary p {
white-space: normal;
display: -webkit-box;
-webkit-line-clamp: 3; /* 3줄 */
-webkit-box-orient: vertical;
overflow: hidden;
}반응형
'Design > Markup' 카테고리의 다른 글
| CSS 가상요소(before)에 svg로 만든 font넣기 (0) | 2022.03.30 |
|---|---|
| css 가상요소[Pseudo Element] before, after (0) | 2022.03.30 |
| customer scrollbar - webkit-scrollbar (0) | 2022.03.29 |
| SVG 폰트 만들기 (0) | 2022.03.23 |
| Figma에서 Font Awesome 적용하기 (2) | 2022.03.17 |
Comments