The CSS revert keyword is an inbuilt keyword in CSS which has been used to revert the cascading style to its parent element. If any similar elements hold the same cascading style, but one child holds the revert keyword then the cascading style will be removed and will inherit the cascading from the parent element.
Below example illustrates the revert keyword in CSS:
Supported Browsers: The browsers supported by CSS revert keyword are listed below:
- Mozila Firefox
- Internet Explorer/ Microsoft Edge
- Difference between revert and unset keyword in CSS
- CSS | currentcolor keyword
- CSS | unset keyword
- Final keyword in PHP
- PHP | var keyword
- ES6 | Void Keyword
- Difference between private keyword and private fields in TypeScript
- $this keyword in PHP
- How to bind 'this' keyword to resolve classical error message 'state of undefined' in React?
- How to override the CSS properties of a class using another CSS class ?
- Difference between bootstrap.css and bootstrap-theme.css
- CSS Float
- CSS | Selectors Complete Reference
- CSS | Margins and Padding
- CSS | table-layout Property
- CSS | text-align Property
- CSS | border-top-width Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.