728x90
- 글꼴 관련 속성
속성 설명 속성값 font-family 글꼴(글자체) 글자체 이름, serif, sans-serif, cursive, fantasy, monospace font-size 글자 크기 수치(단위:cm,mm,in,pt,pc,px,em,ex,%), xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger font-style 글자 스타일 normal, italic, oblique font-weight 글자 굵기 100,200,300,400,500,600,700,800,900, normal, bold,
bolder, lighterfont-variant 작은 대문자로 변환 normal, small-caps color 글자색 색상명, RGB혼합비, 시스템 색 font 일괄 지정 font-의 각 속성의 값을 나열 - 텍스트 관련 속성
- 배경 관련 속성
속성 | 설명 | 속성값 |
---|---|---|
letter-spacing | 글자 사이 간격 | normal, 수치 |
word-spacing | 단어 사이 간격 | normal, 수치 |
line-height | 줄 간격 | normal, 수치, % |
text-align | 수평 정렬 | left, right, center, justify |
vertical-align | 수직 정렬 | 수치, %, baseline, super, sub, top, middle, bottom |
text-indent | 단락 첫 줄 들여쓰기 | 수치, % |
text-decoration | 텍스트 장식 | none, overline, underline, line-through, blink |
text-transform | 대소문자 변환 | none, capitalize, uppercase, lowercase |
속성 | 설명 | 속성값 |
---|---|---|
background-color | 배경색 | 색상명, RGB혼합비, 시스템 색 |
background-image | 배경 이미지의 경로/파일 지정 | none, url(“그림 파일명”) |
background-repeat | 배경 이미지의 반복 여부 | repeat, no-repeat, repeat-x, repeat-y |
background-attachment | 배경 이미지의 스크롤 여부 | fixed, scroll |
background-position | 배경 이미지의 시작 위치 | 수치, %, top, center, bottom, left, right |
background | 일괄 지정 | 속성값들을 순서에 상관없이 나열 |
'my_lesson > _CSS3' 카테고리의 다른 글
CSS FONT attribute[family,size,style,weight,variant,color] (0) | 2015.04.16 |
---|---|
CSS list, padding, border, margin, a, position,curser (0) | 2015.04.09 |
CSS Margin attribute[top, left, bottom, right] (0) | 2015.03.24 |
CSS Float & Clear attribute[none, right, left, both] (0) | 2015.03.23 |
CSS2 Z-index attribute[auto, number, initial] (0) | 2015.03.23 |
댓글