aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/css/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ko/web/api/css/index.html')
-rw-r--r--files/ko/web/api/css/index.html81
1 files changed, 81 insertions, 0 deletions
diff --git a/files/ko/web/api/css/index.html b/files/ko/web/api/css/index.html
new file mode 100644
index 0000000000..1b36fb9573
--- /dev/null
+++ b/files/ko/web/api/css/index.html
@@ -0,0 +1,81 @@
+---
+title: CSS
+slug: Web/API/CSS
+tags:
+ - API
+ - CSSOM
+ - Interface
+ - Painting
+ - Reference
+translation_of: Web/API/CSS
+---
+<div>{{APIRef("CSSOM")}}</div>
+
+<p><code><strong>CSS</strong></code> 인터페이스는 유용한 CSS 관련 메서드를 가집니다. <code>CSS</code> 인터페이스는 정적 속성과 메서드만 가지고 있으며 아무런 객체도 <code>CSS</code> 인터페이스를 구현하지 않습니다. </p>
+
+<h2 id="속성">속성</h2>
+
+<p><em>CSS 인터페이스는 유틸리티 인터페이스이며, 이러한 형식의 어떠한 객체도 만들수 없으며 오직 정적 속성으로만 정의할 수 있습니다.</em></p>
+
+<h3 id="정적_속성">정적 속성</h3>
+
+<dl>
+ <dt>{{domxref("CSS.paintWorklet")}} {{experimental_inline}} {{SecureContext_Inline}}</dt>
+ <dd>페인팅(painting)에 관련된 모든 클래스를 지닌 워크렛(worklet)에 접근할 수 있습니다.</dd>
+</dl>
+
+<h2 id="메서드">메서드</h2>
+
+<h3 id="정적_메서드">정적 메서드</h3>
+
+<dl>
+ <dt>{{domxref("CSS.registerProperty()")}}</dt>
+ <dd><a href="/ko/docs/Web/CSS/--*">사용자 지정 CSS 속성</a>을 등록하고 속성 자료형 검사, 기본값, 상속 여부 등을 설정할 수 있습니다.</dd>
+ <dt>{{domxref("CSS.supports()")}}</dt>
+ <dd>매개변수로 주어진 속성-값 쌍 또는 조건의 지원 여부를 나타내는 {{jsxref("Boolean")}}을 반환합니다.</dd>
+</dl>
+
+<dl>
+ <dt>{{domxref("CSS.escape()")}} {{experimental_inline}}</dt>
+ <dd>CSS 선택자로 사용할 문자열을 이스케이프해서 반환합니다.</dd>
+ <dt>{{domxref("CSS.factory_functions", "CSS 팩토리 함수", "", 1)}}</dt>
+ <dd>매개변수로 지정한 값을 담은 새로운 {{domxref("CSSUnitValue")}}를 생성합니다. 단위는 팩토리 함수의 이름입니다.</dd>
+ <dd>
+ <pre class="notranslate">CSS.em(3) // CSSUnitValue {value: 3, unit: "em"}</pre>
+ </dd>
+</dl>
+
+<h2 id="명세">명세</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('CSS Painting API','#dom-css-paintworklet','paintWorklet')}}</td>
+ <td>{{Spec2('CSS Painting API')}}</td>
+ <td><code>paintWorklet</code> 정적 속성 추가</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('CSSOM', '#the-css.escape()-method', 'CSS')}}</td>
+ <td>{{Spec2('CSSOM')}}</td>
+ <td><code>escape()</code> 정적 메서드 추가</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('CSS3 Conditional', '#the-css-interface', 'CSS')}}</td>
+ <td>{{Spec2('CSS3 Conditional')}}</td>
+ <td>초기 정의</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="브라우저_호환성">브라우저 호환성</h2>
+
+<div class="hidden">이 페이지에 호환성 표는 구조화된 데이터에서 생성됩니다. 만약 이 데이터에 공헌하고 싶다면, <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a>을 확인한 다음에 요청을 보내주십시오.</div>
+
+<p>{{Compat("api.CSS")}}</p>