---
title: "Discussion on \"nth-child Vs nth-of-type\" | Hashnode"
description: "Discussion on \"nth-child Vs nth-of-type\". difference between nth-child and nth-of-type"
url: "https://hashnode.com/posts/nth-child-vs-nth-of-type/60fdb78a18fbbb77c9468a26"
---

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

Discussion

# [nth-child Vs nth-of-type](https://shan-tech.hashnode.dev/nth-child-vs-nth-of-type?utm_source=hashnode&utm_medium=feed)

difference between nth-child and nth-of-type

Jul 25, 2021 · 3 min read · shan-tech.hashnode.dev  
Read the article

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

## Written by

[Shankar Anand](https://hashnode.com/@Shan-tech)

@Shan-tech · Pondicherry

  
[View profile](https://hashnode.com/@Shan-tech)

B.tech CS Student 😉

I'm a tech enthusiast CS student. Bringing forth a positive attitude and the willingness and motivation to learn new programs.💻

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
