본문 바로가기
Development/TIL

[TIL] 2021-09-10

by jojo 2021. 9. 14.

 

 

1. div 안의 content를 정렬할 때 굳이 span 으로 감싸주지 않아도됨

 

2. CSS white-space 

  ▷ 공백 문자를 처리하는 방법

https://developer.mozilla.org/ko/docs/Web/CSS/white-space

 

white-space - CSS: Cascading Style Sheets | MDN

CSS white-space 속성은 요소가 공백 문자를 처리하는 법을 지정합니다.

developer.mozilla.org

 

3. CSS border-collapse

 ▷ 표의 테두리(table border)이 겹쳐질 때, 그것을 분리할 지 상쇄할 지 설정

 

https://developer.mozilla.org/ko/docs/Web/CSS/border-collapse

 

border-collapse - CSS: Cascading Style Sheets | MDN

border-collapse CSS 속성은 표 테두리(border)가 분리(separated) 또는 상쇄(collapsed)될 지를 결정합니다. 분리 모델에서는, 인접한 셀은 각각 자신의 고유(distinct) 테두리가 있습니다. 상쇄 모델에서는, 인

developer.mozilla.org

 

4. Writing-mode

 ▷ 텍스트를 수평으로 사용할지 수직으로 사용할지 설정하는 것

https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode

 

writing-mode - CSS: Cascading Style Sheets | MDN

The writing-mode CSS property sets whether lines of text are laid out horizontally or vertically, as well as the direction in which blocks progress. When set for an entire document, it should be set on the root element (html element for HTML documents).

developer.mozilla.org

 

'Development > TIL' 카테고리의 다른 글

[TIL] 2021-11-17 (find)  (0) 2021.11.18
[TIL] 2021-11-14 (shift, pop, Object.values, Object.entries)  (0) 2021.11.14
[TIL] 2021-08-24  (0) 2021.08.26
[TIL] 2021-08-04  (0) 2021.08.05
[TIL] 2021-08-02  (0) 2021.08.03

댓글