---
title: "Discussion on \"How to Create an Overlay Effect with CSS\" | Hashnode"
description: "Discussion on \"How to Create an Overlay Effect with CSS\". CSS doesn't provide a straightforward way to add an overlay effect. But, we can create one easily with only two main properties, namely, z-index and..."
url: "https://hashnode.com/posts/how-to-create-an-overlay-effect-with-css/60e31cca75c814115cc883dd"
---

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

Discussion

# [How to Create an Overlay Effect with CSS](https://shounak.hashnode.dev/how-to-create-an-overlay-effect-with-css?utm_source=hashnode&utm_medium=feed)

CSS doesn't provide a straightforward way to add an overlay effect. But, we can create one easily with only two main properties, namely, z-index and...

Dec 21, 2020 · 1 min read · shounak.hashnode.dev  
Read the article

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

## Written by

[Shounak Das](https://hashnode.com/@dasShounak)

@dasShounak · Kolkata, India

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

Front-end Developer / Freelancer

I am a self-taught front-end developer from Kolkata, India

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
