Skip to Content
Suffering builds character

1.CSS 개요

css intro

1. CSS 역할

HTML, XML같은 마크업(Markup) 형태의 언어로 구조화되어 작성된 문서의 스타일링(Styling)을 결정하는 기술

스타일링
요소의 배치, 색상, 여백, 폰트 등
문서의 내용(Content)이 아닌 표현(Presentation)을 담당하는 모든 것

2. CSS Stands for

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language such as HTML or XML  (including XML dialects such as SVGMathML or XHTML).

Cascading

The name cascading comes from the specified priority scheme to determine which style rule applies if more than one rule matches a particular element. This cascading priority scheme is predictable.

→ Cascading이란 특정 HTML 엘리먼트에 스타일을 적용할 때, 2개 이상의 규칙(CSS코드)들 중 어떤 스타일 규칙이 먼저 적용될지를 결정하기 위한 우선순위 체계에서 유래된 표현

→ Cascading은 CSS를 활용하기 위한 핵심 규칙이자 특징

Style sheet

A style sheet language, or style language, is a computer language that expresses the presentation of structured documents.

→ HTML같은 구조화된 문서의 스타일링을 정의하는 규칙으로, 문서의 내용(Content)이 아닌 표현(Presentation)을 담당

Last updated on