Java & Python
[CSS] - 텍스트 꾸미기
토끼퉁
2023. 9. 6. 20:02
텍스트 꾸미기
1. font-size : 글자 크기
2. color : 글자 색
3. font-weight : 글자 두께(normal, bold)
4. text-decoration : 텍스트 장식(밑줄, 취소선 등 none, underline, overline, line-through 등)
5. text-align : 텍스트 정렬(left, center, right)
6. line-height : 줄 간격
7. letter-spacing : 문자 간격
8. text-transform : 대소문자 변환(uppercase/lowercase/capitalize)
text-decoration 프로퍼티로 하이퍼링크에 밑줄 제거
<a href=“http://www.naver.com” style=”text-decoration : none”>네이버</a>
font 프로퍼티
font-style, font-weight, font-size, font-family를 순서대로 지정하는 단축 프로퍼티