revert

noun

say it: “rih-VERT” /rɪˈvɜːrt/

A CSS keyword that rolls a property back to the value the browser's default styles would give it, as if your stylesheet had never set it.

What does the revert keyword do?

revert rolls a property back to what the browser would show without your styles.

.prose ul { list-style: revert; }   /* bring back the browser bullets */

In a sentence

  • “My reset took the numbers off every list, so I used list-style: revert on the recipe steps to get the browser's numbers back.”

Level: Freelancer · More CSS terms at this level

Updated