all 속성을 사용하여 모든 속성을 재설정합니다. 모든 속성을 초기, 상속 또는 설정 해제로 설정합니다.
예시
CSS all 속성을 구현하기 위해 다음 코드를 실행할 수 있습니다.
<!DOCTYPE html>
<html>
<head>
<style>
html {
color: blue;
}
#demo {
background-color: yellow;
color: red;
all: inherit;
}
</style>
</head>
<body>
<h2>CSS all property</h2>
<div id = "demo">This is demo text.</div>
</body>
</html>