---
title: "Discussion on \"5 CSS tricks that you should know\" | Hashnode"
description: "Discussion on \"5 CSS tricks that you should know\". In this article you will learn five unique and useful CSS tricks.\n1. Disable a link.\n.inactive-link{\n  pointer-events : none;\n  cursor : default;\n}\n\nYou can disable any link by using the CSS code above.\n2. Disable text selection.\n.prevent-select{\nuse..."
url: "https://hashnode.com/posts/5-css-tricks-that-you-should-know/64207a8fd12671f2694c9493"
---

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

Discussion

# [5 CSS tricks that you should know](https://venkybellara.io/5-css-tricks-that-you-should-know?utm_source=hashnode&utm_medium=feed)

In this article you will learn five unique and useful CSS tricks. 1. Disable a link. .inactive-link{ pointer-events : none; cursor : default; } You can disable any link by using the CSS code above. 2. Disable text selection. .prevent-select{ use...

Mar 26, 2023 · 1 min read · venkybellara.io  
Read the article

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

## Written by

[Venkatesh K](https://hashnode.com/@venky17)

@venky17 · Bengaluru, India

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
