CSS Introduction | CSS Selectors | Other Pseudo-classes
:not
The :not selector can be used together with any selector. It selects elements by applying the opposite of the specified selector.
<style>
input { color: #FFEFD5; }
input:not([type="password"]) { background-color: #CD853F; }
</style>
:lang
The :lang selector is used when you want to style a specific HTML element differently according to the language setting on the user’s computer.
For example, English uses quotation marks ("") for quotations, while French uses angle brackets (<>).
This selector lets you change the appearance of tags based on language differences according to the user’s language settings.
<style>
:lang(en) { quotes: '"' '"' "'" "'"; }
:lang(fr) { quotes: "<<" ">>" "<" ">"; }
</style>