CSS :has() Selector Example

Learn more about the :has() pseudo-class. Article information is summarized from Wikipedia. Images on this page are simple illustrations.

Gmunden, Austria

Illustration of a lake with mountains

Gmunden sits at the north end of Lake Traunsee in Upper Austria. The lake is the deepest in the country, and the town is a popular tourist stop known for Schloss Ort, a medieval castle on the water. Mountains, including the Traunstein, surround the lake.

London, England

London is the capital of England and the United Kingdom, and the largest city in both. It stands on the River Thames in the southeast of England and has been a major settlement for nearly 2,000 years.

It is a global center for finance, art, education, and culture. The London Underground is the world's oldest rapid transit system.

Frankfurt, Germany

Illustration of a city skyline
Frankfurt skyline

Frankfurt am Main is the most populous city in the German state of Hesse. It is the heart of the Rhine-Main region and home to the European Central Bank. The city's business district is known for its tall skyline.

Budweis, Czech Republic

Illustration of a town square with a tower
Budweis town center

Budweis, or Ceske Budejovice, is a city in the South Bohemian Region of the Czech Republic. It lies at the meeting of the Vltava and Malse rivers and is famous for Budweiser Budvar beer. Its historic center is well preserved.

Paris, France

Paris is the capital and largest city of France. It has been a leading center of finance, diplomacy, fashion, and gastronomy since the 17th century. In the 19th century, its early and extensive street lighting earned it the name City of Light.