---
title: "Discussion on \"CSS Selectors 101: Targeting Elements with Precision\" | Hashnode"
description: "Discussion on \"CSS Selectors 101: Targeting Elements with Precision\". When I started learning CSS, one of the first things that confused me was:How does CSS know what to style?\nLike… okay, I write some CSS, but how does it pick which HTML element gets the style?\nThat’s where CSS selectors come in.\nSelectors are basical..."
url: "https://hashnode.com/posts/css-selectors-101-targeting-elements-with-precision/697f85c9d7b52bad1de614e2"
---

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

Discussion

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

When I started learning CSS, one of the first things that confused me was:How does CSS know what to style? Like… okay, I write some CSS, but how does it pick which HTML element gets the style? That’s where CSS selectors come in. Selectors are basical...

Feb 1 · 3 min read · css-selectors-targeting-elements-with-precision.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css-selectors](https://hashnode.com/tag/css-selectors)

## Written by

[Harshita Rohra](https://hashnode.com/@harshitarohra)

@harshitarohra

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
