What's the difference between "normal" and " none " values in CSS property content?

Issue

I am learning css and I don’t understand the difference between those two values(normal and none) of "content" property.
Are those values the same ?? If so, why do I need both?

<style>
  .p01::before {
    content: none;
  }
  
  .p02::before {
    content: normal;
  }
</style

Solution

From the specification

normal

For ::before and ::after, this computes to none.

Answered By – Temani Afif

Answer Checked By – Katrina (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.