- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Reset all properties with CSS
Use the all property to reset all the properties. Set all property to initial, inherit or unset.
Example
You can try to run the following code to implement the CSS all property
<!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>
- Related Articles
- Set all border-radius properties with CSS
- Style input type reset with CSS
- Shorthand property to set all the animation properties with CSS
- Set all the background image properties in one section with CSS
- Specify all the list properties into a single expression with CSS
- CSS counter-reset property
- Set all the top border properties in one declaration using CSS
- CSS Border Properties
- CSS Background Properties
- CSS Dimension Properties
- CSS Margin Properties
- Extend the animation properties in both directions with CSS
- Selects all elements with CSS
- Selects all elements and all elements with CSS
- Aural Media CSS Properties

Advertisements