aboutsummaryrefslogtreecommitdiff
path: root/files/ko/orphaned
diff options
context:
space:
mode:
authorMDN <actions@users.noreply.github.com>2021-06-09 00:40:02 +0000
committerMDN <actions@users.noreply.github.com>2021-06-09 00:40:02 +0000
commitbbed12e574958e07af25518c7e66bd5ee2fb2d2c (patch)
tree6e15ea0aabe07bcc53e1bcf571c0e086e3976a25 /files/ko/orphaned
parent67bda90e70fdf1714ec4f4886ec9261992bd4422 (diff)
downloadtranslated-content-bbed12e574958e07af25518c7e66bd5ee2fb2d2c.tar.gz
translated-content-bbed12e574958e07af25518c7e66bd5ee2fb2d2c.tar.bz2
translated-content-bbed12e574958e07af25518c7e66bd5ee2fb2d2c.zip
[CRON] sync translated content
Diffstat (limited to 'files/ko/orphaned')
-rw-r--r--files/ko/orphaned/web/api/elementcssinlinestyle/style/index.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/files/ko/orphaned/web/api/elementcssinlinestyle/style/index.html b/files/ko/orphaned/web/api/elementcssinlinestyle/style/index.html
new file mode 100644
index 0000000000..ef9d2c90e0
--- /dev/null
+++ b/files/ko/orphaned/web/api/elementcssinlinestyle/style/index.html
@@ -0,0 +1,42 @@
+---
+title: element.style
+slug: orphaned/Web/API/ElementCSSInlineStyle/style
+tags:
+ - API
+ - HTML DOM
+ - HTMLElement
+ - Property
+ - Reference
+ - Style
+translation_of: Web/API/ElementCSSInlineStyle/style
+original_slug: Web/API/ElementCSSInlineStyle/style
+---
+<div>{{ APIRef("HTML DOM") }}</div>
+
+<p><code><strong>HTMLElement.style</strong></code> 속성은 요소의 인라인 스타일에 접근하거나 설정할 때 사용할 수 있습니다. 접근자로서는 요소의 인라인 <a href="/ko/docs/Web/HTML/Global_attributes/style"><code>style</code> 속성</a>이 포함한 CSS 선언을 담은 {{domxref("CSSStyleDeclaration")}} 객체를 반환합니다</p>
+
+<h2 id="예제">예제</h2>
+
+<pre class="brush: js">// Set multiple styles in a single statement
+elt.style.cssText = "color: blue; border: 1px solid black";
+// Or
+elt.setAttribute("style", "color:red; border: 1px solid blue;");
+
+// Set specific style while leaving other inline style values untouched
+elt.style.color = "blue";</pre>
+
+<h2 id="명세">명세</h2>
+
+<p><a href="http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ElementCSSInlineStyle">DOM Level 2 Style: ElementCSSInlineStyle.style</a></p>
+
+<p><a href="https://www.w3.org/TR/cssom-1/#the-elementcssinlinestyle-interface">CSSOM: ElementCSSInlineStyle</a></p>
+
+<h2 id="브라우저_호환성">브라우저 호환성</h2>
+
+<p>{{Compat("api.HTMLElement.style")}}</p>
+
+<h2 id="같이_보기">같이 보기</h2>
+
+<ul>
+ <li><a href="/ko/docs/DOM/Using_dynamic_styling_information" title="DOM/Using dynamic styling information">Using dynamic styling information</a></li>
+</ul>