---
title: "Discussion on \"Selectors to use in CSS\" | Hashnode"
description: "Discussion on \"Selectors to use in CSS\". There are many selectors in css you can use for targeting the elements, here are some selectors you must know!\nFirstly what is selector?\nCSS selectors are used for finding or targeting the element which you want to style. \nDo you know, how many types..."
url: "https://hashnode.com/posts/selectors-to-use-in-css/61165c9273a6cd48b7f187da"
---

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

Discussion

# [Selectors to use in CSS](https://codewithkrishna.hashnode.dev/selectors-to-use-in-css?utm_source=hashnode&utm_medium=feed)

There are many selectors in css you can use for targeting the elements, here are some selectors you must know! Firstly what is selector? CSS selectors are used for finding or targeting the element which you want to style. Do you know, how many types...

Aug 13, 2021 · 2 min read · codewithkrishna.hashnode.dev  
Read the article

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

## Written by

[Krishna Gupta](https://hashnode.com/@Krishnaa1006)

@Krishnaa1006 · India

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

Front end web Developer and Designer from India

A Self-taught Front-end web-developer/designer

## Responses 5

Markdown supported · ⌘↵ to post

[Kritika Pattalam Bharathkumar](https://hashnode.com/@kritika-pattalam)

[Aug 13, 2021](https://hashnode.com/posts/selectors-to-use-in-css/61165c9273a6cd48b7f187da/comment/6116989d16b6034ad04b04b5)

Good job on your first article!!

[Krishna Gupta](https://hashnode.com/@Krishnaa1006)

[Aug 13, 2021](https://hashnode.com/posts/selectors-to-use-in-css/61165c9273a6cd48b7f187da/comment/6116989d16b6034ad04b04b5#reply-6116b639162d124e1132d398)

Thank you:)

[Insha Ramin](https://hashnode.com/@Inshaweb)

[Aug 13, 2021](https://hashnode.com/posts/selectors-to-use-in-css/61165c9273a6cd48b7f187da/comment/61168b691667fc4aab5dcf56)

Well done, Krishna 🔥

[Krishna Gupta](https://hashnode.com/@Krishnaa1006)

[Aug 13, 2021](https://hashnode.com/posts/selectors-to-use-in-css/61165c9273a6cd48b7f187da/comment/61168b691667fc4aab5dcf56#reply-611690c616b6034ad04b0422)

Thanks di ☺️

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Aug 13, 2021](https://hashnode.com/posts/selectors-to-use-in-css/61165c9273a6cd48b7f187da/comment/61166abe73a6cd48b7f1899e)

Awesome, Krishna. You have done so well in your first article itself 🙂

[Krishna Gupta](https://hashnode.com/@Krishnaa1006)

[Aug 13, 2021](https://hashnode.com/posts/selectors-to-use-in-css/61165c9273a6cd48b7f187da/comment/61166abe73a6cd48b7f1899e#reply-6116798d13a99e48922eec19)

Thank you bhai 🙌

[Kaarthik Sekar](https://hashnode.com/@Mdvlpr)

[Aug 13, 2021](https://hashnode.com/posts/selectors-to-use-in-css/61165c9273a6cd48b7f187da/comment/6116602413a99e48922ee891)

Well written article , Krishna

[Krishna Gupta](https://hashnode.com/@Krishnaa1006)

[Aug 13, 2021](https://hashnode.com/posts/selectors-to-use-in-css/61165c9273a6cd48b7f187da/comment/6116602413a99e48922ee891#reply-6116797c13a99e48922eec0e)

Thanks bro🙌

[Bello Ololade](https://hashnode.com/@Ololade)

[Aug 13, 2021](https://hashnode.com/posts/selectors-to-use-in-css/61165c9273a6cd48b7f187da/comment/61165ecf73a6cd48b7f1884d)

Love it Krishnaa

[Krishna Gupta](https://hashnode.com/@Krishnaa1006)

[Aug 13, 2021](https://hashnode.com/posts/selectors-to-use-in-css/61165c9273a6cd48b7f187da/comment/61165ecf73a6cd48b7f1884d#reply-6116797113a99e48922eec08)

Thank you Olo 💙🙏
