개발이야기/css (2) 썸네일형 리스트형 이미지 중앙 노출(로딩) HTML 삽입 미리보기할 수 없는 소스 text ellipsis 100%로 자르기 .element { display: table; table-layout: fixed; width: 100%; } .truncate { display: table-cell; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } 예제) 내용 이전 1 다음