CSS all Property

Use the all property to reset all the properties. Set all property to initial, inherit or unset.

You can try to run the following code to implement the CSS all property


Live Demo

<!DOCTYPE html>
         html {
            color: blue;
         #demo {
            background-color: yellow;
            color: red;
            all: inherit;
      <h2>CSS all property</h2>
      <div id = "demo">This is demo text.</div>
karthikeya Boyini
karthikeya Boyini

I love programming (: That's all I know