Created
December 16, 2021 13:13
-
-
Save Uvacoder/49d7b8f801813f0cbbd27c6edce91890 to your computer and use it in GitHub Desktop.
Blur background of a header: https://stackoverflow.com/a/64606048
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| header { | |
| position: sticky; | |
| top: 0; | |
| z-index: 999; | |
| width: 100%; | |
| height: 50px; | |
| background: rgba(255, 255, 255, 0.2); | |
| backdrop-filter: saturate(180%) blur(2px); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment