ใช้ ทั้งหมด คุณสมบัติเพื่อรีเซ็ตคุณสมบัติทั้งหมด ตั้งค่าคุณสมบัติทั้งหมดเป็นค่าเริ่มต้น สืบทอด หรือยกเลิกการตั้งค่า
คุณสามารถลองเรียกใช้โค้ดต่อไปนี้เพื่อใช้คุณสมบัติ 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>