---
title: "Discussion on \"CSS Selectors 101: Targeting Elements with Precision\" | Hashnode"
description: "Discussion on \"CSS Selectors 101: Targeting Elements with Precision\". In CSS, targeting a specific element looks easy and it is actually easy. But when a same element is targeted by class, id, tag name then which will the browser gives priority is not that simple. In this blog you will learn about different types of se..."
url: "https://hashnode.com/posts/css-selectors-101-targeting-elements-with-precision/697e02658f40ee792cf32ea6"
---

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

Discussion

# [CSS Selectors 101: Targeting Elements with Precision](https://vickyxcodes.hashnode.dev/css-selectors-101-targeting-elements-with-precision?utm_source=hashnode&utm_medium=feed)

In CSS, targeting a specific element looks easy and it is actually easy. But when a same element is targeted by class, id, tag name then which will the browser gives priority is not that simple. In this blog you will learn about different types of se...

Jan 31 · 4 min read · vickyxcodes.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css-specificity](https://hashnode.com/tag/css-specificity)
-   [#hiteshchaudhary](https://hashnode.com/tag/hiteshchaudhary)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Vicky](https://hashnode.com/@vickyxcodes)

@vickyxcodes

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

Writing what i learn

I am learning Web Dev, and i write to enrich my skills and learnings.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
