---
title: "Discussion on \"CSS Selectors 101: Targeting Elements with Precision\" | Hashnode"
description: "Discussion on \"CSS Selectors 101: Targeting Elements with Precision\". Why CSS selectors are needed?\n Imagine you have a hundred elements on a page. CSS needs to know which one to style. You can't just say \"make it red\" — red what? Selectors are CSS's way of pointing at the exact element it wants to change. No selector,..."
url: "https://hashnode.com/posts/css-selectors-101-targeting-elements-with-precision/697f807df28bbb61db322a94"
---

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

Discussion

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

Why CSS selectors are needed? Imagine you have a hundred elements on a page. CSS needs to know which one to style. You can't just say "make it red" — red what? Selectors are CSS's way of pointing at the exact element it wants to change. No selector,...

Feb 1 · 3 min read · sofiyablogoncss.hashnode.dev  
Read the article

-   [#startcoding](https://hashnode.com/tag/startcoding)
-   [#css](https://hashnode.com/tag/css)
-   [#css-selectors](https://hashnode.com/tag/css-selectors)
-   [#codingforbeginners](https://hashnode.com/tag/codingforbeginners)
-   [#htmlandcss](https://hashnode.com/tag/htmlandcss)
-   [#learncss](https://hashnode.com/tag/learncss)

## Written by

[Sofiya Shaikh](https://hashnode.com/@sofiyaccss)

@sofiyaccss

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
