---
title: "Discussion on \"How to use the sticky utility in TailwindCSS?\" | Hashnode"
description: "Discussion on \"How to use the sticky utility in TailwindCSS?\". The sticky utility in TailwindCSS lets you stick an element to its parent. The main difference between the sticky utility & the fixed utility is that fixed let you fix the element to the window object.\n\nWith the sticky utility, you can stick your ele..."
url: "https://hashnode.com/posts/how-to-use-the-sticky-utility-in-tailwindcss/5ff9a587aa5c467fe15585f3"
---

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

Discussion

# [How to use the sticky utility in TailwindCSS?](https://blog.mistralcss.com/how-to-use-the-sticky-utility-in-tailwindcss?utm_source=hashnode&utm_medium=feed)

The sticky utility in TailwindCSS lets you stick an element to its parent. The main difference between the sticky utility & the fixed utility is that fixed let you fix the element to the window object. With the sticky utility, you can stick your ele...

Jan 9, 2021 · 1 min read · blog.mistralcss.com  
Read the article

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

## Written by

[MistralCSS](https://hashnode.com/@MistralCSS)

@MistralCSS

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

MistralCSS - TilwindCSS pre-made components & blocks

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
