---
title: "Discussion on \"Modern CSS selectors :is(), :where(), and :has()\" | Hashnode"
description: "Discussion on \"Modern CSS selectors :is(), :where(), and :has()\". CSS selectors target specific HTML elements for styling. This basic example locates all <p> paragraph elements and changes the text color to red:\np {  \n  color: red;  \n}\n\nCSS selectors have become increasingly sophisticated since the introduction of ..."
url: "https://hashnode.com/posts/modern-css-selectors-is-where-has/62f7ae3469fa1793160c2efd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Modern CSS selectors :is(), :where(), and :has()](https://blog.craigbuckler.com/modern-css-selectors-is-where-has?utm_source=hashnode&utm_medium=feed)

CSS selectors target specific HTML elements for styling. This basic example locates all <p> paragraph elements and changes the text color to red: p { color: red; } CSS selectors have become increasingly sophisticated since the introduction of ...

Aug 11, 2022 · 4 min read · blog.craigbuckler.com  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#selectors](https://hashnode.com/tag/selectors)
-   [#browsers](https://hashnode.com/tag/browsers)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Craig Buckler](https://hashnode.com/@craigbuckler)

@craigbuckler · Exmouth, UK

  
[View profile](https://hashnode.com/@craigbuckler)

Freelance UK full stack web developer who writes tutorials now and again.

I am a freelance UK full-stack web developer with a few decades experience.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
