본문 바로가기

Programming/CSS

WEB2 CSS - 6. Learn CSS properties on your own

css text size property

https://www.w3schools.com/cssref/pr_font_font-size.asp

 

h1  {
      font-size:45px;

      text-align: center;

}

 

어차피 text-a까지만 쳐도 자동완성돼서 밑에 align고를지 다른거 고를지 나옴

center도 마찬가지.

text-align: 까지 치고 나면 자동완성 옵션으로 left right center 어떤거 할지 목록 뜸.

 

 

'Programming > CSS' 카테고리의 다른 글

WEB2 CSS - 9. How to use Box Model  (0) 2020.09.01
WEB2 CSS - 8. Box Model  (0) 2020.08.27
WEB2 CSS - 7. Basics of CSS Selectors  (0) 2020.08.27
WEB2 CSS - 4. Basic grammar of CSS  (0) 2020.08.27
WEB2 CSS - 3. The advent of CSS  (0) 2020.08.27