Skip to content
🧠 Master React Package Creation — Claim Your Spot

Edit It: Apply Red to All Sections Whose lang Attribute Is "zh" or Begins with "zh-"

Home>Attribute Selectors in CSS>Edit It: Apply Red to All Sections Whose lang Attribute Is "zh" or Begins with "zh-"

Edit It: Apply Red to All Sections Whose lang Attribute Is "zh" or Begins with "zh-"

This code shows how to apply red to all the sections whose lang attribute is "zh" or begins with "zh-".

See it on StackBlitz