January 5, 2022 at 11:49 am | blabbing.

This type of CSS selector can be useful for when you have a multi-lingual site and some content or features may be different between the EN (english) site and other languages. Without having to explicitly name each language in the selector you just want to say “everything that is not EN”.

html:not([lang="en"]){
  .name-of-selector{
    // Updated attributes
  }
}