---
title: "Discussion on \":is(), :where(), :has(), :not()\" | Hashnode"
description: "Discussion on \":is(), :where(), :has(), :not()\". The :has() pseudo-selector is the only CSS Selector that selects elements based on whether they contain specific descendants. It targets the parent element with one or more descendants that match the specified selector. It can also target siblings or..."
url: "https://hashnode.com/posts/is-where-has-not/681661f9dede44aacbaa3326"
---

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

Discussion

# [:is(), :where(), :has(), :not()](https://shohan777.hashnode.dev/is-where-has-not?utm_source=hashnode&utm_medium=feed)

The :has() pseudo-selector is the only CSS Selector that selects elements based on whether they contain specific descendants. It targets the parent element with one or more descendants that match the specified selector. It can also target siblings or...

May 3, 2025 · 16 min read · shohan777.hashnode.dev  
Updated Aug 10, 2025  
Read the article

-   [#has](https://hashnode.com/tag/has)
-   [#css](https://hashnode.com/tag/css)
-   [#psudo-selector](https://hashnode.com/tag/psudo-selector)
-   [#css-selectors](https://hashnode.com/tag/css-selectors)
-   [#cssselector](https://hashnode.com/tag/cssselector)

## Written by

[shohanur rahman](https://hashnode.com/@katakuri)

@katakuri

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

JavaScript Developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
