Latest web development tutorials
×

CSS 참조 설명서

CSS 참조 설명서 CSS 선택자 CSS 음성 참조 CSS Web 안전 글꼴 CSS 생기 CSS 단위 CSS 색 CSS 법률 색상 값 CSS 색 이름 CSS 16 진수 색상 값 CSS 브라우저 지원

CSS 재산

align-content align-items align-self all animation animation-delay animation-direction animation-duration animation-fill-mode animation-iteration-count animation-name animation-play-state animation-timing-function appearance backface-visibility background background-attachment background-blend-mode background-clip background-color background-image background-origin background-position background-repeat background-size border border-bottom border-bottom-color border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-collapse border-color border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-left border-left-color border-left-style border-left-width border-radius border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-left-radius border-top-right-radius border-top-style border-top-width border-width bottom box-align box-direction box-flex box-flex-group box-lines box-ordinal-group box-orient box-pack box-shadow box-sizing caption-side clear clip color column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns content counter-increment counter-reset cursor direction display empty-cells filter flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap float font @font-face font-family font-size font-size-adjust font-stretch font-style font-variant font-weight grid-columns grid-rows hanging-punctuation height icon justify-content @keyframes left letter-spacing line-height list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top max-height max-width @media min-height min-width nav-down nav-index nav-left nav-right nav-up opacity order outline outline-color outline-offset outline-style outline-width overflow overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top page-break-after page-break-before page-break-inside perspective perspective-origin position punctuation-trim quotes resize right rotation tab-size table-layout target target-name target-new target-position text-align text-align-last text-decoration text-decoration-color text-decoration-line text-decoration-style text-indent text-justify text-outline text-overflow text-shadow text-transform text-wrap top transform transform-origin transform-style transition transition-delay transition-duration transition-property transition-timing-function unicode-bidi vertical-align visibility white-space width word-break word-spacing word-wrap z-index

CSS 글꼴 속성

하나의 선언에있는 모든 글꼴 속성을 지정합니다 :

p.ex1
{
글꼴 : 15 픽셀의 굴림, 산세 리프;
}

p.ex2
{
폰트 : 이탤릭체 굵은 12 픽셀 / 30 픽셀 조지아, 리프;
}

»시도

더 많은 예제는이 페이지의 하단에.

정의 및 지침을 속성

글꼴 약식 속성은 하나의 선언에있는 모든 글꼴 속성을 설정합니다.

설정 가능한 속성 (순서대로) : "글꼴 스타일의 글꼴 변형 글꼴 무게 글꼴 크기 / 라인 높이 글꼴 - 가족"

글꼴 크기와 글꼴 - 가족의 값이 필요합니다. 즉 디폴트 값이있는 경우, 다른 값의 부족 않으면 기본값은 삽입한다.

참고 : 라인 - 행과 행 높이의 건물 사이의 공간을.

기본값 : 지정되지
상속 :
버전 : CSS1
자바 스크립트 구문 : 개체 .style.font = "이탤릭체 작은 모자대담한 12 픽셀의 굴림, 산세 리프"


브라우저 지원

표의 수치 속성의 버전 번호를 먼저 지원 브라우저를 나타낸다.

属性
font 1.0 4.0 1.0 1.0 3.5

글꼴 속성

기술
글꼴 스타일 처방 글꼴 스타일. 참조 : 글꼴 스타일 가능한 값.
글꼴 변형 중국어 글꼴을 지정했습니다. 참조 : 글꼴 변형이 가능한 값의.
글꼴 무게 처방 글꼴 무게. 참조 : 글꼴 무게 가능한 값.
글꼴 크기 / 줄 높이 글꼴 크기 및 줄 간격 규정. 참조 : 글꼴 크기줄 높이 가능한 값을.
글꼴 - 가족 폰트 패밀리의 규정을 준수해야합니다. 참조 : 글꼴 가족이 사용할 수있는 값의.
표제 제목 글꼴 사용 (버튼과 같은, 드롭 다운 목록 등) 컨트롤을 정의한다.
아이콘 글꼴을 정의 사용할 수는 아이콘이 표시.
메뉴 정의가 사용하는 글꼴 드롭 다운 목록입니다.
메시지 상자 대화 상자에서 사용하는 글꼴을 정의합니다.
작은 캡션 작은 버전의 글꼴을 캡션입니다.
상태 표시 줄 윈도우 상태 표시 줄에 사용되는 글꼴을 정의합니다.


예

더 많은 예제

다른 글꼴 속성 값
이 예는 다른 글꼴 속성 값을 보여줍니다.


관련 기사

CSS 튜토리얼 : 폰트를 CSS