---
title: "Discussion on \"4th day _ Styling header was done\" | Hashnode"
description: "Discussion on \"4th day _ Styling header was done\". learned how to make header position fixed when scroll down and position absolute when scroll up by css transition and adding two classes"
url: "https://hashnode.com/posts/4th-day-styling-header-was-done/608f7b38a3716542f36411ec"
---

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

Discussion

# [4th day \_ Styling header was done](https://nealyan20210217.hashnode.dev/4th-day-styling-header-was-done?utm_source=hashnode&utm_medium=feed)

learned how to make header position fixed when scroll down and position absolute when scroll up by css transition and adding two classes

May 3, 2021 · 1 min read · nealyan20210217.hashnode.dev  
Read the article

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

## Written by

[Neal Yan](https://hashnode.com/@nealyan20210217)

@nealyan20210217 · Ottawa

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

mobile developer

## Responses 1

Markdown supported · ⌘↵ to post

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

[May 3, 2021](https://hashnode.com/posts/4th-day-styling-header-was-done/608f7b38a3716542f36411ec/comment/608fa058dc886b431800773c)

This came in the right time...thanks 😊
