---
title: "Discussion on \"CSS Sticky is Weird\" | Hashnode"
description: "Discussion on \"CSS Sticky is Weird\". I've fixed that issue: if the parent is \"flex\", then align-self: start; must be applied.\nAnd of course, top: 0px; as well."
url: "https://hashnode.com/posts/css-sticky-is-weird/6469f799035451f8ee3a5352"
---

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

Discussion

# [CSS Sticky is Weird](https://public.cvladan.com/css-sticky-is-weird?utm_source=hashnode&utm_medium=feed)

I've fixed that issue: if the parent is "flex", then align-self: start; must be applied. And of course, top: 0px; as well.

May 21, 2023 · 1 min read · public.cvladan.com  
Read the article

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

## Written by

[Vladan](https://hashnode.com/@cvladan)

@cvladan

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

Learn the rules like a pro, so you can break them like an artist

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
