---
title: "Discussion on \"Order of Specificity in CSS.\" | Hashnode"
description: "Discussion on \"Order of Specificity in CSS.\". The given below are the order by which specificity of CSS is affected\n\nPriority-1: !important keyword\n\nPriority-2: Inline-style\n\nPriority-3: Id selector\n\nPriority-4: Class selector\n\nPriority-5: Tag selector\n\n\nLet understand how certain styles get app..."
url: "https://hashnode.com/posts/order-of-specificity-in-css/62dbf3dbcf7a8a6d54f076e2"
---

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

Discussion

# [Order of Specificity in CSS.](https://chcodes.hashnode.dev/order-of-specificity-in-css?utm_source=hashnode&utm_medium=feed)

The given below are the order by which specificity of CSS is affected Priority-1: !important keyword Priority-2: Inline-style Priority-3: Id selector Priority-4: Class selector Priority-5: Tag selector Let understand how certain styles get app...

Jul 23, 2022 · 3 min read · chcodes.hashnode.dev  
Read the article

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

## Written by

[CHANDRAHASSAN J B](https://hashnode.com/@Chandrahassan)

@Chandrahassan

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

Web developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
