Created
June 7, 2021 09:18
-
-
Save jamiemarsland/4af06d5cb0e67b2e4903f49b7ba8adeb to your computer and use it in GitHub Desktop.
Glassmorphism Code for Gutenberg
This file contains 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
.glass | |
{ | |
background: rgba( 255, 255, 255, 0.25 ); | |
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 ); | |
backdrop-filter: blur( 4px ); | |
-webkit-backdrop-filter: blur( 4px ); | |
border-radius: 10px; | |
border: 1px solid rgba( 255, 255, 255, 0.18 ); | |
padding:20px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment