---
title: "Discussion on \"CSS Selectors Explained Simply: Choosing What You Want to Style\" | Hashnode"
description: "Discussion on \"CSS Selectors Explained Simply: Choosing What You Want to Style\". Before we talk about colors, layouts, or animations, we need to answer one question.\nA very basic one.\nHow does CSS know what to style?\nYou write CSS.You write rules.But how does the browser know which HTML elements those rules apply to?\nThat is the ..."
url: "https://hashnode.com/posts/css-selectors-explained-simply-choosing-what-you-want-to-style/697a1a390511840ec8b807de"
---

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

Discussion

# [CSS Selectors Explained Simply: Choosing What You Want to Style](https://harman1panwar.hashnode.dev/css-selectors-explained-simply-choosing-what-you-want-to-style?utm_source=hashnode&utm_medium=feed)

Before we talk about colors, layouts, or animations, we need to answer one question. A very basic one. How does CSS know what to style? You write CSS.You write rules.But how does the browser know which HTML elements those rules apply to? That is the ...

Jan 28 · 4 min read · harman1panwar.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#styling](https://hashnode.com/tag/styling)

## Written by

[Harman Panwar](https://hashnode.com/@Harman-panwar)

@Harman-panwar

  
[View profile](https://hashnode.com/@Harman-panwar)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
