This page was translated from English by the community.Learn more and join the MDN Web Docs community.
initial
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015년 11월.
CSSinitial 키워드는 속성의초깃값(기본값)을 요소에 적용합니다. 초깃값은 브라우저가 지정합니다. 모든 속성에서 사용할 수 있으며,all에 지정할 경우 모든 CSS 속성을 초깃값으로 재설정합니다.
In this article
예제
HTML
html
<p> <span>This text is red.</span> <em>This text is in the initial color (typically black).</em> <span>This is red again.</span></p>CSS
css
p { color: red;}em { color: initial;}명세
| Specification |
|---|
| CSS Cascading and Inheritance Level 4> # initial> |