 
  Data Structure Data Structure
 Networking Networking
 RDBMS RDBMS
 Operating System Operating System
 Java Java
 MS Excel MS Excel
 iOS iOS
 HTML HTML
 CSS CSS
 Android Android
 Python Python
 C Programming C Programming
 C++ C++
 C# C#
 MongoDB MongoDB
 MySQL MySQL
 Javascript Javascript
 PHP PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Role of CSS :not (selector) Selector
Use the CSS :not(selector) selector to style every element that is not the specified element. You can try to run the following code to implement the :not selector
Example
<!DOCTYPE html> <html>    <head>       <style>          p {             color: red;          }          :not(p) {             color: blue;          }       </style>    </head>    <body>       <h1>Heading 1</h1>       <h2>Heading 2</h2>       <h3>Heading 3</h3>       <p>This is a paragraph.</p>       <p>This is another paragraph.</p>    </body> </html>Advertisements
 