Text Color
The color property is used to set the color of the text. The color is specified by:
- a color name - like "red"
- a HEX value - like "#ff0000"
- an RGB value - like "rgb(255,0,0)"
Look at CSS Color Values for a complete list of possible color values.
The default text color for a page is defined in the body selector.
글자색
color의 속성은 글자의 색을 설정하기 위해 사용되어진다. 색은 다음과 같이 명시되어진다.
가능 한 색의 값을 확인하기 위해선 CSS Color Values 를 보세요
한 페이지에서 기본적인 색은 body selector로 정의 되어진다.
Text Alignment
The text-align property is used to set the horizontal alignment of a text.
A text can be left or right aligned, centered, or justified.
The following example shows center aligned, and left and right aligned text (left alignment is default if text direction is left-to-right, and right alignment is default if text direction is right-to-left):
텍스트 정렬
text-align 속성은 텍스트를 수평적으로 정렬하기 위해 사용되어진다.
텍스트는 왼쪽과 오른쪽 중앙으로 정렬되어질수 있다
다음 따라오는 예제는 중앙, 왼쪽, 오른ㅉㄱ 으로 정렬된 텍스트를 보여준다.
( )
Text Decoration
The text-decoration property is used to set or remove decorations from text.
The value text-decoration: none; is often used to remove underlines from links:
텍스트 꾸밈
text-decoration 속성은 텍스트 꾸밈을 설정하거나, 제거하기 위해 사용되어진다.
text-decoration: none; 값은 링크로부터의 아랫줄선을 제거하기 위해 자주 사용되어진다.
Text Transformation
The text-transform property is used to specify uppercase and lowercase letters in a text.
It can be used to turn everything into uppercase or lowercase letters, or capitalize the first letter of each word:
텍스트 변환
text-transform속성은 문자를 대문자나 소문자로 명시하기 위해 사용되어진다.
이 속성은 모든 문자를 대문자나 소문자로 변환하기 위해 사용되어지기도하고, 각 단어의 첫문자만 대문자로 변한하기 위해 사용되어지기도 한다.
Text Indentation
The text-indent property is used to specify the indentation of the first line of a text:
text 공백
text-indent 속성은 텍스트의 첫째줄의 공백을 명시하기 위해 사용되어진다.
Letter Spacing
The letter-spacing property is used to specify the space between the characters in a text.
The following example demonstrates how to increase or decrease the space between characters:
letter-spacing 속성은 텍스트 사이의 문자 간격을 명시하기 위해 사용되어진다.
다음 따라오는 예제는 어떻게 문자사이에 공간을 증가시키고, 감소시키는지 설명한다.
Line Height
The line-height property is used to specify the space between lines:
선의 높이
line-height 속성은 선사이의 공간을 명시하기 위해 사용된다.
'영어공부' 카테고리의 다른 글
How To Add Icons (1) | 2020.01.09 |
---|---|
CSS Fonts (0) | 2020.01.09 |
CSS Outline (0) | 2020.01.08 |
CSS Box Model (0) | 2020.01.08 |
CSS Height and Width (0) | 2020.01.07 |