- normal: The default value. Multiple whitespaces are collapsed into one. The text wraps to the next line when needed.
- nowrap: Multiple whitespaces are collapsed into one, but the text doesn’t wrap to the next line.
- pre: Same results as using the <pre> where all the whitespaces will be kept as is and the text only wraps when line breaks are in the content.
- pre-line: Multiple whitespaces are collapsed into one, the text breaks to the next line when needed or with line breaks in the content.
- pre-wrap: Similar to pre, but the text also wraps when needed.
'FE > CSS' 카테고리의 다른 글
[ CSS ] 디바이스 뷰포트 확인 사이트 (0) | 2023.03.16 |
---|---|
[ CSS ] 프린트 미디어 쿼리 (0) | 2022.07.26 |
[ CSS ] Webkit Input 기본값 초기화 (0) | 2022.05.26 |
[ CSS ] 엘리먼트 기준 페이지 스크롤 (0) | 2022.04.28 |
[ CSS ] 커스텀 스크롤바 (0) | 2022.04.28 |